Encoding.flush

size_t flush(string inbuf, ref char[] outbuf)

Completes the incremental encode or decode of the input stream (see gmime.encoding.Encoding.step for details).

Parameters

inbufan input buffer to encode or decode
outbufan output buffer

Returns

the number of bytes written to outbuf.