Compress
- this
this(int level, HeaderFormat header)
this(HeaderFormat header)
A destructor is present on this object, but not explicitly documented in the source.
- compress
const(void)[] compress(const(void)[] buf)
Compress the data in buf and return the compressed data.
- flush
void[] flush(int mode)
Compress and return any remaining data.
The returned data should be appended to that returned by compress().
Used when the data to be compressed is not all in one buffer.