Java.How to write and read the Huffman code bits to a file?

Formed the Huffman tree, calculate the encodings for symbols, translated this all in view "001101010101011" has been stalled in the moment of recording these bits in a file. Here are found two classes to write and read bits, but I don't match the ones and zeroes when read back. Table codes while the file is not write. Just trying to write bits to a file.
Please tell me how to implement it.
June 7th 19 at 14:37
0 answer

Find more questions by tags JavaData archiving