pub struct InflateCtx { /* private fields */ }Expand description
Caller-owned DEFLATE working set for compressed components: the 32 KiB
wrapping window (INFLATE_WINDOW) used as the LZ77 dictionary ring, plus
miniz_oxide’s decompressor state. Allocate once (it is large — the window
plus a multi-KB Huffman-table state struct; place it in a static or on a
generous stack) and lend it to LoadFileDataBlock::next_block. It is
untouched while a STORED component is being read.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InflateCtx
impl RefUnwindSafe for InflateCtx
impl Send for InflateCtx
impl Sync for InflateCtx
impl Unpin for InflateCtx
impl UnsafeUnpin for InflateCtx
impl UnwindSafe for InflateCtx
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