Compresses the data in srcbuf[] using compression level level.
The default value
for level is 6, legal values are 1..9, with 1 being the least compression
and 9 being the most.
Returns the compressed data.
const(void)[]compress(const(void)[] srcbuf, int level)
Compresses the data in srcbuf[] using compression level level. The default value for level is 6, legal values are 1..9, with 1 being the least compression and 9 being the most. Returns the compressed data.