UnCompress

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

Constructors

this
this(uint destbufsize)
this()

Construct. destbufsize is the same as for D.zlib.uncompress().

Destructor

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

Members

Functions

flush
void[] flush()

Decompress and return any remaining data. The returned data should be appended to that returned by uncompress(). The UnCompress object cannot be used further.

uncompress
const(void)[] uncompress(const(void)[] buf)

Decompress the data in buf and return the decompressed data. The buffers returned from successive calls to this should be concatenated together.

Suggestion Box / Bug Report