Click or drag to resize
MimeKit

Rfc2047DecodePhrase(Byte, Int32, Int32) Method

Decode a phrase.

Namespace: MimeKit.Utils
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public static string DecodePhrase(
	byte[] phrase,
	int startIndex,
	int count
)

Parameters

phrase  Byte
The phrase to decode.
startIndex  Int32
The starting index.
count  Int32
The number of bytes to decode.

Return Value

String
The decoded phrase.
Exceptions
ExceptionCondition
ArgumentNullExceptionphrase is null.
ArgumentOutOfRangeExceptionstartIndex and count do not specify a valid range in the byte array.
Remarks
Decodes the phrase(s) starting at the given index and spanning across the specified number of bytes using the default parser options.
See Also