Crate huffman_coding

Source
Expand description

huffman_coding is a small library for reading and writing huffman encoded data

There are only 3 things you need to know:

  • Use HuffmanTree to change the coding and decoding based on your data
  • Use HuffmanWriter to encode data
  • use HuffmanReader to decode data

Structs§

  • HuffmanReader is a Read implementation that can read encoded words from the inner reader
  • HuffmanWriter is a Write implementation that writes encoded words to the inner writer.

Enums§

  • HuffmanTree is a simple tree structure used convert encoded words to decoded words and vice versa.