Applications of Huffman coding