Skip to main content

uncompress

Discworld driver help

uncompress

Name

uncompress() - Uncompress a buffer containing a gzip-compressed string.

Synopsis

buffer uncompress( mixed str )

Description

This efun takes a string or buffer, uncompresses it using gzip, and returns a buffer containing the uncompressed version. In practise the thing to uncompress is always a buffer.

See also

compress, uncompress_file, compress_file, read_buffer