Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

zlib

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 gimp   Members   

142
Like
Likes
Like

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

#2 SiCrane   Moderators   

11763
Like
Likes
Like

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.




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.