encode_by_pack
pack_version
Huffman encode by pack/unpack