const BZ2_DEFAULT_COMPRESSION
gives the default compression level for the bzip2() function, providing maximum compression (value: 9...
Definition: ql_compression.dox.h:273
binary binary()
Always returns an empty binary object (of zero length)
string bunzip2_to_string(binary bin, *string encoding)
Uncompresses the given data with the bzip2 algorithm and returns the uncompressed data as a string...
binary bzip2(binary bin, softint level=BZ2_DEFAULT_COMPRESSION)
Compresses the given data with the bzip2 algorithm and returns the compressed data as a binary...
binary bunzip2_to_binary(binary bin)
Uncompresses the given data with the bzip2 algorithm and returns the uncompressed data as a binary ob...
binary gzip(string str, int level=Z_DEFAULT_COMPRESSION)
Performs zlib-based "gzip" data compression (RFC 1952) and returns a binary object of the compressed ...
string gunzip_to_string(binary bin, *string encoding)
Performs zlib-based decompression of data compressed with the "gzip" algorithm (RFC 1952) and returns...
const Z_DEFAULT_COMPRESSION
gives the default compression level for the compress() and gzip() functions, providing a tradeoff bet...
Definition: ql_compression.dox.h:275
binary gunzip_to_binary(binary bin)
Performs zlib-based decompression of data compressed with the "gzip" algorithm (RFC 1952) and returns...
binary uncompress_to_binary(binary bin)
Performs zlib-based decompression of data compressed by the "deflate" algorithm (RFC 1951) and return...
string uncompress_to_string(binary bin, *string encoding)
Performs zlib-based decompression of data compressed by the "deflate" algorithm (RFC 1951) and return...
binary compress(string str, int level=Z_DEFAULT_COMPRESSION)
Performs zlib-based "deflate" data compression (RFC 1951) and returns a binary object of the compress...