Module bitstream_io::huffman [−][src]
Expand description
Traits and implementations for reading or writing Huffman codes from or to a stream.
Structs
WriteHuffmanTree | A compiled Huffman tree for use with the |
Enums
HuffmanTreeError | An error type during Huffman tree compilation. |
ReadHuffmanTree | A compiled Huffman tree element for use with the |
Functions
compile_read_tree | Given a vector of symbol/code pairs, compiles a Huffman tree for reading. |
compile_write_tree | Given a vector of symbol/code pairs, compiles a Huffman tree for writing. |