Finishes a multiple-buffer encode operation.
When you use the low-level interface, the encoder buffers some data internally. Therefore, after you have passed all input data to the encoder, you must call this method to flush the internal buffer.
The following condition must be satisfied when you call the method:
outBuf.Pos < outBuf.EndPos(output buffer space available) The above condition must also be satisified after the method
returns in order to guarantee that all output data has been written
to the output buffer. You may need to call Finish() more
than once before the above condition is satisfied when the method
returns.
For more information on using the low-level interface, see the overview section for Base64Encoder.
Base64Encoder Class | Hunny.Mime Namespace