ZlibStreamDecompressor

Simple zlib stream decompressor.

Destructor

~this
~this()

Destructor. Makes sure the C-allocated stream is destroyed.

Members

Aliases

Encoding
alias Encoding = ZlibInput.Encoding

Alias for encoding enum, to avoid public import.

Functions

decodeChunk
void decodeChunk(ubyte[] compressed_chunk, void delegate(ubyte[] decompressed_chunk) output_dg)

Decodes a chunk of data from the stream and passes the resulting decompressed data chunks to the provided output delegate. A single input chunk may invoke the output delegate several times.

end
bool end()

Ends decompression of a stream. Releases the C-allocated resources.

start
void start(Encoding encoding)

Starts decompression of a stream.

Meta