1 reply to this topic
Members - Reputation: 142
Posted 27 April 2000 - 07:13 PM
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
Moderators - Reputation: 9497
Posted 28 April 2000 - 06:53 AM
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.