A zlib question

R

Roland Hedberg

Hi!

I have a problem with zlib and compressing/decompressing according to
RFC 1951.

It seems like I can decompress, something compressed according to RFC
1951 by someone else, provided I set wbits to something negative (used
-8 but I guess any negative number would work?).

But how can I compress using zlib so it doesn't add a gzip header ?

-- Roland
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,269
Messages
2,571,098
Members
48,773
Latest member
Kaybee

Latest Threads

Top