Function ZlibBufferedEncoder.encode

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

ulong encode();