Struct ZlibDecoder

Zlib decoder that uses provided buffer to store results Doesn't use garbage collector

struct ZlibDecoder ;

Constructors

NameDescription
this (buf) Constructor

Methods

NameDescription
decode (input) Decodes a stream. Returns true on success, false on error. Decoded data is stored in buffer field, the buffer is resized if necessary
free () Call this when you don't need decoded buffer anymore