uuencode_close


Description:

public static size_t uuencode_close (uint8 inbuf, size_t inlen, uint8 outbuf, uint8 uubuf, int state, uint32 save)

Uuencodes a chunk of data.

Call this when finished encoding data with uuencode_step to flush off the last little bit.

Parameters:

inbuf

input buffer

inlen

input buffer length

outbuf

output buffer

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.