Hunny Software Library Reference

QuotedPrintableDecoder.DecodeSegment Method 

Decodes data from the input buffer to the output buffer.

[Visual Basic]
Public Sub DecodeSegment( _
   ByVal inBuf As ByteBuffer, _
   ByVal outBuf As ByteBuffer _
)
[C#]
public void DecodeSegment(
   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 decoding for the QuotedPrintableDecoder class. It takes an input buffer and an output buffer as parameters, and decodes 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 decode 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 QuotedPrintableDecoder.

See Also

QuotedPrintableDecoder Class | Hunny.Mime Namespace