pub struct Lz4Encoder;Expand description
LZ4-style block compressor using a 4-byte hash chain.
Sequence format: [token: u8][extra literal len…][literals…][offset: u16 LE][extra match len…]
The token’s high nibble is the literal count (0-14, 15 = overflow), low nibble is
match-length minus 4 (0-14, 15 = overflow). Minimum match length is 4.
Implementations§
Auto Trait Implementations§
impl Freeze for Lz4Encoder
impl RefUnwindSafe for Lz4Encoder
impl Send for Lz4Encoder
impl Sync for Lz4Encoder
impl Unpin for Lz4Encoder
impl UnsafeUnpin for Lz4Encoder
impl UnwindSafe for Lz4Encoder
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