Introduction - If you have any usage issues, please Google them yourself
Function is based on the Huffman tree data structure of the text compression, according to the generated HuffmanTree to generate the character codes. That is, from leaf to the root reverse order to each character Huffman coding.