This is an “FFI”-based interface to the ZLIB.
When this module is present, *FEATURES*
contains the symbol :ZLIB
.
(ZLIB:Z-VERSION)
(ZLIB:COMPRESS source &KEY
level)
source
VECTOR
.
(ZLIB:UNCOMPRESS
source destination-length)
source
VECTOR
(returned
by ZLIB:COMPRESS
).
destination-length
should be no less than
the length of the uncompressed source
.
(ZLIB:COMPRESS-BOUND source-length)
ZLIB:COMPRESS
.(ZLIB:ERROR-STRING error-code
)
error-code
.
ZLIB:ZERROR
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.49 | Last modified: 2010-07-07 |