Zlib

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

zlib is a general purpose compression library. It provides in-memory compression and decompression functions, including integrity checks of the uncompressed data. This library allows compressing and decompressing from its own zlib format and from gzip format.

Contents

Features

  • Compression in a single step if the buffers are large enough
  • Compression/decompression of data in the system memory using zlib format
  • Compression/decompression of files using gzip format
  • Support of Adler32 and CRC32 check functions

Platforms

Virtually any computer hardware and operating system.

Binaries are available for:

  • Linux
  • HP-UX
  • SGI
  • Solaris
  • Digital Unix
  • SCO Open Server
  • BeOS
  • Mac OS X
  • Mac OS
  • OS/2
  • Palm Pilot
  • Newton OS
  • Windows
  • RIM BlackBerry

Tutorials and source

zlib usage example

Related Weblinks

zlib website