Class QuotedPrintable
Provides Quoted-Printable encoding and decoding per RFC 2045 §6.7.
Inherited Members
Namespace: DRIT.Mail.Rfc.Shared
Assembly: DRIT.Mail.dll
Syntax
public static class QuotedPrintable
Methods
View SourceDecode(byte[])
Decodes Quoted-Printable bytes to the original binary data.
Declaration
public static byte[] Decode(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data to process. |
Returns
| Type | Description |
|---|---|
| byte[] |
Decode(string)
Decodes a Quoted-Printable string (ASCII) to the original binary data.
Declaration
public static byte[] Decode(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Specifies the text value. |
Returns
| Type | Description |
|---|---|
| byte[] |
Encode(byte[])
Encodes binary data to a Quoted-Printable string with lines wrapped at 76 characters.
Declaration
public static string Encode(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data to process. |
Returns
| Type | Description |
|---|---|
| string |