Hunny Software Library Reference

QuotedPrintableEncoder.EncodeSegment Method 

Encodes data from the input buffer to the output buffer.

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

Parameters

inBuf
The input buffer.
outBuf
The output buffer.

Remarks

This method is an essential part of the low-level interface and performs most of the work of encoding for the QuotedPrintableEncoder 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:

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:

For more information on using the low-level interface, see the overview section for QuotedPrintableEncoder.

See Also

QuotedPrintableEncoder Class | Hunny.Mime Namespace