C# Class Microsoft.Legal.MatterCenter.Utility.QuotedPrintable

The QuotedPrintable class encodes and decodes strings and files that either were encoded or need encoded in the Quoted-Printable MIME encoding for Internet mail. The encoding methods of the class use pointers wherever possible to guarantee the fastest possible encoding times for any size file or string. The decoding methods use only the .NET framework classes.
ファイルを表示 Open project: Microsoft/mattercenter Class Usage Examples

Public Methods

Method Description
Decode ( string encoded ) : string

Decodes a Quoted-Printable string of any size into it's original text.

HexDecoder ( string line ) : string

Decode the string and generate the hexadecimal code for the input string.

HexDecoderEvaluator ( Match matchValue ) : string

Generate the hexadecimal code which needs to be replace in string when match found.

Private Methods

Method Description
QuotedPrintable ( ) : System

Prevents a default instance of the QuotedPrintable class from being created.

Method Details

Decode() public static method

Decodes a Quoted-Printable string of any size into it's original text.
public static Decode ( string encoded ) : string
encoded string /// The encoded string to decode. ///
return string

HexDecoder() public static method

Decode the string and generate the hexadecimal code for the input string.
public static HexDecoder ( string line ) : string
line string string to decode
return string

HexDecoderEvaluator() public static method

Generate the hexadecimal code which needs to be replace in string when match found.
public static HexDecoderEvaluator ( Match matchValue ) : string
matchValue System.Text.RegularExpressions.Match matching value
return string