uuencode_step
Description:
public static size_t uuencode_step (uint8 inbuf, size_t inlen, uint8 outbuf, uint8 uubuf, int state, uint32 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 |
| inlen |
input buffer length |
| outbuf |
output stream |
| uubuf |
temporary buffer of 60 bytes |
| state |
holds the number of bits that are stored in |
| save |
leftover bits that have not yet been encoded |
Returns:
|
the number of bytes encoded. |