Method | Description | |
---|---|---|
Base64Decode ( byte base64Data ) : byte[] |
Decodes base64 data.
|
|
Base64Encode ( byte data ) : byte[] |
Encodes data with base64 encoding.
|
|
CanonicalDecode ( string text ) : string |
Canonical decoding. Decodes all canonical encoding occurences in specified text. Usually mime message header unicode/8bit values are encoded as Canonical. Format: =?charSet?type[Q or B]?encoded_string?= . Defined in RFC 2047.
|
|
CanonicalEncode ( string str, string charSet ) : string |
Canonical encoding.
|
|
DoPeriodHandling ( Stream strm, bool add_Remove ) : |
Does period handling.
|
|
DoPeriodHandling ( Stream strm, bool add_Remove, bool setStrmPosTo0 ) : |
Does period handling.
|
|
DoPeriodHandling ( byte data, bool add_Remove ) : |
Does period handling.
|
|
FromHex ( byte hexData ) : byte[] |
Converts hex byte data to normal byte data. Hex data must be in two bytes pairs, for example: 0F,FF,A3,... .
|
|
GetArgsText ( string input, string cmdTxtToRemove ) : string |
Gets argument part of command text.
|
|
GetHostName ( |
Gets host name. If fails returns 'UnkownHost'.
|
|
IsAscii ( string data ) : bool |
Checks if specified string data is acii data.
|
|
IsNumber ( string str ) : bool |
Checks if specified string is number(long).
|
|
QDecode ( System encoding, string data ) : string |
"Q" decoder. This is same as quoted-printable, except '_' is converted to ' '.
|
|
QuotedPrintableDecode ( System encoding, byte data, bool includeCRLF ) : string |
quoted-printable decoder.
|
|
QuotedPrintableDecodeB ( byte data, bool includeCRLF ) : byte[] |
quoted-printable decoder.
|
|
QuotedPrintableEncode ( byte data ) : byte[] |
Encodes data with quoted-printable encoding.
|
|
ScanInvalid_CR_or_LF ( Stream strm ) : bool |
Scans invalid CR or LF combination in stream. Returns true if contains invalid CR or LF combination.
|
|
ToHex ( byte byteValue ) : byte[] |
Convert byte to hex data.
|
public static Base64Decode ( byte base64Data ) : byte[] | ||
base64Data | byte | Base64 decoded data. |
return | byte[] |
public static Base64Encode ( byte data ) : byte[] | ||
data | byte | Data to encode. |
return | byte[] |
public static CanonicalDecode ( string text ) : string | ||
text | string | Text to decode. |
return | string |
public static CanonicalEncode ( string str, string charSet ) : string | ||
str | string | String to encode. |
charSet | string | With what charset to encode string. If you aren't sure about it, utf-8 is suggested. |
return | string |
public static DoPeriodHandling ( Stream strm, bool add_Remove ) : |
||
strm | Stream | Input stream. |
add_Remove | bool | If true add periods, else removes periods. |
return |
public static DoPeriodHandling ( Stream strm, bool add_Remove, bool setStrmPosTo0 ) : |
||
strm | Stream | Input stream. |
add_Remove | bool | If true add periods, else removes periods. |
setStrmPosTo0 | bool | If true sets stream position to 0. |
return |
public static DoPeriodHandling ( byte data, bool add_Remove ) : |
||
data | byte | |
add_Remove | bool | If true add periods, else removes periods. |
return |
public static FromHex ( byte hexData ) : byte[] | ||
hexData | byte | Hex data. |
return | byte[] |
public static GetArgsText ( string input, string cmdTxtToRemove ) : string | ||
input | string | Input srting from where to remove value. |
cmdTxtToRemove | string | Command text which to remove. |
return | string |
public static GetHostName ( |
||
IP | ||
return | string |
public static QDecode ( System encoding, string data ) : string | ||
encoding | System | Input string encoding. |
data | string | String which to encode. |
return | string |
public static QuotedPrintableDecode ( System encoding, byte data, bool includeCRLF ) : string | ||
encoding | System | Input string encoding. |
data | byte | Data which to encode. |
includeCRLF | bool | Specified if line breaks are included or skipped. |
return | string |
public static QuotedPrintableDecodeB ( byte data, bool includeCRLF ) : byte[] | ||
data | byte | Data which to encode. |
includeCRLF | bool | Specified if line breaks are included or skipped. For text data CRLF is usually included and for binary data excluded. |
return | byte[] |
public static QuotedPrintableEncode ( byte data ) : byte[] | ||
data | byte | Data to encode. |
return | byte[] |
public static ScanInvalid_CR_or_LF ( Stream strm ) : bool | ||
strm | Stream | Stream which to check. |
return | bool |
public static ToHex ( byte byteValue ) : byte[] | ||
byteValue | byte | Byte to convert. |
return | byte[] |