Skip to main content

compress

Discworld driver help

compress

Name

compress() - Compress a string or buffer using gzip

Synopsis

buffer compress( mixed str )

Description

This efun takes a string or buffer, compresses it using gzip, and returns a buffer containing the compressed version.

See also

uncompress, compress_file, uncompress_file, read_buffer