33.16. ZLIB Interface
Prev | Chapter 33. Extensions Implemented as Modules | Next

## 33.16. ZLIB Interface

This is an “FFI”-based interface to the ZLIB.

When this module is present, `*FEATURES*` contains the symbol `: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 `source`.
`(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 `SIGNAL`ed 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.45 | Last modified: 2008-05-14

Enter your search termsSubmit search form
Webclisp.cons.orgclisp.podval.orgwww.lisp.org

Prev | Up | Next
33.15. The Wildcard Module | Home | 33.17. Raw Socket Access