pub struct Huffman { /* private fields */ }Expand description
Huffman codec for RuneScape chat messages.
Builds a canonical Huffman code from a bit-length table (one byte per symbol, typically 256 entries loaded from the cache). Provides encode/decode for raw byte buffers — string handling is left to the caller.
Implementations§
Auto Trait Implementations§
impl Freeze for Huffman
impl RefUnwindSafe for Huffman
impl Send for Huffman
impl Sync for Huffman
impl Unpin for Huffman
impl UnsafeUnpin for Huffman
impl UnwindSafe for Huffman
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