#What is this project about?
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.
#GZIP & Deflate
Smallest java full implementation of GZIP algorithm.
##Status 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.
##Compatibility
- 100% compatible with both J2SE and J2ME.
- 100% compatible with Deflate and GZIP RFCs.
- Produces and checks CRCs.
#LZC (aka unix compress)
Smallest java implementation of LZC algorithm.
##Comes in two flavors
LZWOutputStream
andLZWInputStream
: 4.3k bytes- Static class
LZWStream
(aka alternative API): 3.5k bytes.
##Compatibility
- 100% compatible with both J2SE and J2ME.
- 100% compatible with unix compress (.Z file) format.
#Helping
Checkout the code and send me patches.