ANN: ZLib Unit

Eike Lange eike.lange at
Thu Aug 8 09:57:19 CEST 2002

Welcome to the wonderful world of Zlib

  zlib 1.1.4 is a general purpose data compression library.
  All the code is thread safe.  The data format used by the
  zlib library is described by RFCs (Request for Comments)
  1950 to 1952 in the files
  (zlib format), rfc1951.txt (deflate format) and rfc1952.txt
  (gzip format). These documents are also available in other
  formats from

  This unit is based on zlib 1.1.4
  Differences to zlib.h:
  - No underscores
  - ZLIB_VERSION is renamed to ZLibVersionConst
  - function ZlibVersion returns String
  - function GzEof returns boolean value
  - GzError returns String
  - SEEK_SET and SEEK_CUR are introduced in this unit
    as SeekSet and SeekCur. These consts are needed as
    the "whence" parameter to GzSeek

It would be wonderful, if someone could review this unit.

Download from:


More information about the Gpc mailing list