 | Rfc2047EncodeText(Encoding, String, Int32, Int32) Method |
Encode unstructured text.
Namespace: MimeKit.UtilsAssembly: MimeKit (in MimeKit.dll) Version: 4.10.0
Syntaxpublic static byte[] EncodeText(
Encoding charset,
string text,
int startIndex,
int count
)
Parameters
- charset Encoding
- The charset encoding.
- text String
- The text to encode.
- startIndex Int32
- The starting index of the phrase to encode.
- count Int32
- The number of characters to encode.
Return Value
ByteThe encoded text.
Exceptions
Remarks
Encodes the unstructured text according to the rules of rfc2047
using the specified charset encoding and formatting options.
See Also