Encodes data from the input buffer to the output buffer.
This method is an essential part of the low-level interface and
performs most of the work of encoding for the Base64EncoderW
class. It takes an input buffer and an output buffer as
parameters, and encodes data from the input buffer until the input
buffer is empty or the output buffer is full. In other words, one
of the following conditions is guaranteed to be satisfied when the
method returns:
inBuf.Pos == inBuf.EndPos(input buffer empty)outBuf.Pos == outBuf.EndPos(output buffer full)You may call the method multiple times to encode multiple buffers of input data. However, before you call the method, both of the following conditions should be true:
inBuf.Pos < inBuf.EndPos(input buffer data available)outBuf.Pos < outBuf.EndPos(output buffer space available)For more information on using the low-level interface, see the overview section for Base64Encoder.
Base64EncoderW Class | Hunny.Mime Namespace