Actually, you might consider the code/library available at
http://www.zlib.net/
It is free (in multiple senses of the word), and it is what CryptoPP's
"z*" compression code is based on. It is also *meant* to be used on
its own, so your life will be easier. :)
To be clear, Crypto++'s compression code is a reimplementation of zlib
library's algorithms (which means it tends not to be susceptible to the
security holes that exist in the zlib library).
Anyone know about that? I strictly need DEFLATE RFC 1951, not zlib RFC
1950.
(haha any idea how many painful hours it took me to nut that out?)
In Crypto++, you do this by using the deflate classes instead of the zlib
format classes.