struct LzwReader {
decoder: Option<Decoder>,
min_code_size: u8,
check_for_end_code: bool,
}Fields§
§decoder: Option<Decoder>§min_code_size: u8§check_for_end_code: boolImplementations§
Source§impl LzwReader
impl LzwReader
pub fn new(check_for_end_code: bool) -> Self
pub fn check_code_size(min_code_size: u8) -> Result<(), DecodingError>
pub fn reset(&mut self, min_code_size: u8) -> Result<(), DecodingError>
pub fn has_ended(&self) -> bool
pub fn decode_bytes( &mut self, lzw_data: &[u8], decode_buffer: &mut OutputBuffer<'_>, ) -> Result<(usize, usize, LzwStatus), DecodingError>
Auto Trait Implementations§
impl Freeze for LzwReader
impl !RefUnwindSafe for LzwReader
impl Send for LzwReader
impl !Sync for LzwReader
impl Unpin for LzwReader
impl UnsafeUnpin for LzwReader
impl !UnwindSafe for LzwReader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more