C# 클래스 sidepop.Mime.QuotedPrintableEncoding

This class is based on the QuotedPrintable class written by Bill Gearhart found at http://www.aspemporium.com/classes.aspx?cid=6
파일 보기 프로젝트 열기: Octopus-ITSM/sidepop 1 사용 예제들

공개 메소드들

메소드 설명
Decode ( byte contentLines ) : byte[]

A quoted printable string is composed only of the ASCII characters 0 to 9, A to F and =. But in fact it represents an array of bytes from the range 0 to 255. These bytes will later be converted to a string using the character set specified in the Content-Type header.

DecodeSingleLine ( string content ) : byte[]

비공개 메소드들

메소드 설명
DecodeLine ( string line ) : byte[]

Only a subset of the byte range from 0 to 255 could be represented as ASCII. The others (like 195) have been encoded using the following syntax =C3 (= followed by 2 hex characters). To decode a quoted printable string is to restore the original bytes by undoing that syntax. Example: A=C3BC will become [65,195,66,67]

메소드 상세

Decode() 공개 정적인 메소드

A quoted printable string is composed only of the ASCII characters 0 to 9, A to F and =. But in fact it represents an array of bytes from the range 0 to 255. These bytes will later be converted to a string using the character set specified in the Content-Type header.
public static Decode ( byte contentLines ) : byte[]
contentLines byte
리턴 byte[]

DecodeSingleLine() 공개 정적인 메소드

public static DecodeSingleLine ( string content ) : byte[]
content string
리턴 byte[]