Click or drag to resize
MimeKit

Rfc2047DecodeText(ParserOptions, Byte, Int32, Int32) Method

Decode unstructured text.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public static string DecodeText(
	ParserOptions options,
	byte[] text,
	int startIndex,
	int count
)

Parameters

options  ParserOptions
The parser options to use.
text  Byte
The text to decode.
startIndex  Int32
The starting index.
count  Int32
The number of bytes to decode.

Return Value

String
The decoded text.
Exceptions
ExceptionCondition
ArgumentNullException

options is null.

-or-

text is null.

ArgumentOutOfRangeExceptionstartIndex and count do not specify a valid range in the byte array.
Remarks
Decodes the unstructured text buffer starting at the given index and spanning across the specified number of bytes using the supplied parser options.
See Also