Struct bitstream_io::huffman::WriteHuffmanTree [] [src]

pub struct WriteHuffmanTree<E: Endianness, T: Ord> { /* fields omitted */ }

A compiled Huffman tree for use with the write_huffman method. Returned by compiled_write_tree.

Methods

impl<E: Endianness, T: Ord + Clone> WriteHuffmanTree<E, T>
[src]

[src]

Returns true if symbol is in tree.

[src]

Given symbol, returns (bits, value) pairs for writing code. Panics if symbol is not found.