Compress.compress

const(void)[] compress(const(void)[] buf)

Compress the data in buf and return the compressed data.

Parameters

bufdata to compress

Returns

the compressed data. The buffers returned from successive calls to this should be concatenated together.