Skip to main content
gamedev.net
🔒 Locked

zlib

Started by gimp 0 replies 1k views
Original Post
gimp
gimp
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
SiCrane
SiCrane
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.