This project contains a set java implementations of commonly used compression algorithms.
Libraries were carefully written to be compatible with both J2SE and J2ME platforms, keeping code size as small as possible.
Users: please let us know which projects this library is being used on. Also, make sure file bugs.
Smallest java full implementation of GZIP algorithm.
Decompression and compression are available at this time. Library size is 6.5k.
Compression algorithm uses fixed fixed Huffman block. dyn Dynamic Huffman block is on the way.
Smallest java implementation of LZC algorithm.
LZWOutputStream
and LZWInputStream
: 4.3k bytesLZWStream
(aka alternative API): 3.5k bytes.Checkout the code and send me patches.