Encoding.uuencodeStep
size_t uuencodeStep(ubyte[] inbuf, ref ubyte[] outbuf, ref ubyte[] uubuf, ref int state, ref uint save)Uuencodes a chunk of data. Performs an 'encode step', only encodes blocks of 45 characters to the output at a time, saves left-over state in uubuf, state and save (initialize to 0 on first invocation).
Parameters
inbuf | input buffer |
outbuf | output stream |
uubuf | temporary buffer of 60 bytes |
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.