QuotedPrintableEncodingMode Enum
Definition
- Assembly
- Bodu.Text.Encoding.dll
- Package
- Bodu.Text.Encoding 1.0.0
Identifies how QuotedPrintable treats line breaks in the source when encoding.
public enum QuotedPrintableEncodingMode : byte
- Extension Methods
Fields
Binary = 0Treats every source byte as arbitrary data. No byte sequence is interpreted as a hard line break; in particular CR (
0x0D) and LF (0x0A) are escaped as=0Dand=0A. This is the safest mode for round-tripping arbitrary binary payloads.Text = 1Recognises a canonical CRLF (
0x0D 0x0A) pair in the source as a hard line break, emitted using the configured newline. A lone CR or lone LF is not a canonical break and is escaped as=0Dor=0A.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |