pub struct DecompressContext { /* private fields */ }Expand description
Decompression context holding state across blocks.
Implementations§
Source§impl DecompressContext
impl DecompressContext
Sourcepub fn into_output(self) -> Vec<u8> ⓘ
pub fn into_output(self) -> Vec<u8> ⓘ
Take ownership of the output.
Sourcepub fn update_offsets(&mut self, offset: u32)
pub fn update_offsets(&mut self, offset: u32)
Update repeat offsets after a match.
Sourcepub fn get_repeat_offset(&self, code: u32) -> u32
pub fn get_repeat_offset(&self, code: u32) -> u32
Get a repeat offset by code (1, 2, or 3).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DecompressContext
impl RefUnwindSafe for DecompressContext
impl Send for DecompressContext
impl Sync for DecompressContext
impl Unpin for DecompressContext
impl UnwindSafe for DecompressContext
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