Structs§
- Buffer
TooShort Error - An error indicating that the provided
OctetsMutis not big enough. - Octets
- A zero-copy immutable byte buffer.
- Octets
Mut - A zero-copy mutable byte buffer.
Constants§
- MAX_
VAR_ INT - Maximum value that can be encoded via varint.
Functions§
- huffman_
encoding_ len - Returns how long the Huffman encoding of the given buffer will be.
- varint_
len - Returns how many bytes it would take to encode
vas a variable-length integer. - varint_
parse_ len - Returns how long the variable-length integer is, given its first byte.