A Huffman encoder and decoder, written in C++