32.16. ZLIB Interface

This is an FFI-based interface to the ZLIB.

(ZLIB:Z-VERSION)
Return the string version of the underlying library.
(ZLIB:COMPRESS source &KEY level)
Compress the source VECTOR.
(ZLIB:UNCOMPRESS source destination-length)
Uncompress the source VECTOR (returned by ZLIB:COMPRESS). destination-length should be no less than the length of the uncompressed VECTOR.
(ZLIB:COMPRESS-BOUND source-length)
Return the maximum length of the return value of ZLIB:COMPRESS.
(ZLIB:ERROR-STRING errno)
Return a descriptive string for the supplied error code.
ZLIB:ZERROR
An ERROR sometimes SIGNALed by ZLIB:COMPRESS and ZLIB:UNCOMPRESS. You can find the error code and the caller using ZLIB:ZERROR-ERRNO and ZLIB:ZERROR-CALLER.

These notes document CLISP version 2.41Last modified: 2006-10-13