UnCompress

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

Constructors

this
this(uint destbufsize)
this(HeaderFormat format)

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.

Properties

empty
bool empty [@property getter]

Returns true if all input data has been decompressed and no further data can be decompressed (inflate() returned Z_STREAM_END)

Meta