Rfc 2047Decode Phrase(Byte, Int 32, Int 32) Method
Decode a phrase.
Definition
Namespace: MimeKit.Utils
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The decoded phrase.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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
StringThe decoded phrase.
Remarks
Decodes the phrase(s) starting at the given index and spanning across
the specified number of bytes using the default parser options.
Exceptions
| ArgumentNullException | phrase is . |
| ArgumentOutOfRangeException | startIndex and count do not specify a valid range in the byte array. |