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).
| 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 |
|
the number of bytes encoded. |