Is there an implementation of an open source Huffman dictionary compression algorithm?

I am working on a library for working with e-files of Mobipocket format files, and I am decompressing and compressing PalmDoc in LZ77 style. However, PalmDoc compression is just one of the two currently used types of text compression used in e-books in the wild, and the other is the Huffman aka huffcdic dictionary.

I found a couple of implementations of the huffcdic decoding algorithm, but I would like to be able to compress in the same format, and so far I have not been able to find examples of how to do this. Has anyone else figured this out and posted the code?

+3
source share

Source: https://habr.com/ru/post/1769448/


All Articles