chez-libs

(data zlib)
Login

zlib Bindings

Synopsis

(import (data zlib))

Chez Scheme includes zlib code, but exposes the functionality of the library only through file ports. This module allows the compression and decompression of bytevectors in memory.

Operations

procedure: (compress bytevector)

procedure: (compress bytevector level)

Compresses the given data in zlib format, optionally specifying a desired compression level between 0 and 9.

procedure: (decompress bytevector)

Decompress the given data in zlib format.