Encoding.flush

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

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

Parameters

inbuf string

an input buffer to encode or decode

outbuf char[]

an output buffer

Return Value

Type: size_t

the number of bytes written to outbuf.