Compress

Used when the data to be compressed is not all in one buffer.

Constructors

this
this(int level, HeaderFormat header)
this(HeaderFormat header)

Constructor.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

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().

Meta