🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

zlib

Started by
0 comments, last by gimp 24 years, 2 months ago
Anyone out there have a nice little app that could demonstrate how zlib could be used to compress then decompress a hunk of data. I downloaded the code and was shocked by, like 15 files. All I wan''t is something like : compress(data); decompress(data); Do I really need all that stff that come with zlib? Is it the best library around for this kind of work. Thanks guys chris
Chris Brodie
Advertisement
If you got a source code distribution of zlib, yes you do need all those files in order to build it. The only one that matters when using it is zlib.h. The functions are pretty well documented in there. Look for compress(), compress2() and uncompress() in the utility function section of zlib.h.

This topic is closed to new replies.

Advertisement