Encoding.uuencodeClose

size_t uuencodeClose(ubyte[] inbuf, ref ubyte[] outbuf, ref ubyte[] uubuf, ref int state, ref uint save)

Uuencodes a chunk of data. Call this when finished encoding data with [gmime.encoding.Encoding.uuencodeStep] to flush off the last little bit.

Parameters

inbufinput buffer
outbufoutput buffer
uubuftemporary buffer of 60 bytes
stateholds the number of bits that are stored in save
saveleftover bits that have not yet been encoded

Returns

the number of bytes encoded.