Hunny Software Library Reference

Base64Encoder.Finish Method 

Finishes a multiple-buffer encode operation.

[Visual Basic]
Public Sub Finish( _
   ByVal outBuf As ByteBuffer _
)
[C#]
public void Finish(
   ByteBuffer outBuf
);

Parameters

outBuf
The output buffer.

Remarks

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:

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.

See Also

Base64Encoder Class | Hunny.Mime Namespace