ZlibBufferedEncoder

Zlib encoder that uses provided fixed-length buffer to store results. Doesn't use garbage collector

Constructors

this
this(ubyte[] buf, ubyte[] inp)

Constructor

Members

Functions

encode
size_t encode()

Encodes the next portion of data and returns a number of bytes written

Variables

buffer
ubyte[] buffer;
Undocumented in source.
ended
bool ended;
Undocumented in source.
input
ubyte[] input;
Undocumented in source.
zlibStream
z_stream zlibStream;
Undocumented in source.

Meta