Encoding.uuencodeClose

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

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

Parameters

inbuf ubyte[]

input buffer

outbuf ubyte[]

output buffer

uubuf ubyte[]

temporary buffer of 60 bytes

state int

holds the number of bits that are stored in save

save uint

leftover bits that have not yet been encoded

Return Value

Type: size_t

the number of bytes encoded.