Encoding.quotedEncodeClose
size_t quotedEncodeClose(ubyte[] inbuf, ref ubyte[] outbuf, ref int state, ref uint save)Quoted-printable encodes a block of text. Call this when finished encoding data with [gmime.encoding.Encoding.quotedEncodeStep] to flush off the last little bit.
Parameters
inbuf | input buffer |
outbuf | output buffer |
state | holds the number of bits that are stored in save |
save | leftover bits that have not yet been encoded |
Returns
the number of bytes encoded.