Expand description
Huffman is a library to decode huffman-encoded data.
§Usage
Create a Huffman Tree and call the decode function to decode the input.
Structs§
- Tree
- A huffman tree.
Functions§
- decode
- Decode the huffman-encoded
inputusing the Huffmantree. The decoding ends whendecompressed_sizeis reached. - decode_
with_ offset - Decode the huffman-encoded
inputusing the Huffmantree. The decoding starts at input +offset, whereoffsetis the number bits to skip (number between 0 and 8). The decoding ends whendecompressed_sizeis reached.