Module bitstream_io::huffman [] [src]

Traits and implementations for reading or writing Huffman codes from or to a stream.

Structs

WriteHuffmanTree

Enums

HuffmanTreeError
ReadHuffmanTree

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.