Hunny Software Library Reference

QuotedPrintableDecoder.Decode Method 

Performs single-step buffer-to-buffer quoted-printable decoding.

[Visual Basic]
Public Function Decode( _
   ByVal encoded As ByteString _
) As ByteString
[C#]
public ByteString Decode(
   ByteString encoded
);

Parameters

encoded
Byte string containing the encoded data.

Return Value

Byte string containing the decoded data.

Remarks

To perform quoted-printable decoding using this method, create a ByteString containing the data you want to decode and pass it as the method's argument. The returned ByteString contains the decoded output.

This method makes it very simple to perform quoted-printable decoding. The disadvantage of this method is that it requires all the data to be kept in memory for processing. You may use the low-level interface, described in the overview section, to perform quoted-printable decoding of large data using limited memory.

This method uses the low-level interface internally. Any options set for the decoder object have the same effect using either this method or the low-level interface.

See Also

QuotedPrintableDecoder Class | Hunny.Mime Namespace