Base64 encodes the input stream to the output stream.
Call this when finished encoding data with base64_encode_step to flush off the last little bit.
| inbuf |
input buffer |
| inlen |
input buffer length |
| outbuf |
output buffer |
| state |
holds the number of bits that are stored in |
| save |
leftover bits that have not yet been encoded |
|
the number of bytes encoded. |