C# Class Temp.UriQueryUtility

Helpers for encoding, decoding, and parsing URI query components.
Afficher le fichier Open project: anurse/ReviewR

Méthodes publiques

Méthode Description
UrlDecode ( string str ) : string
UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
UrlEncode ( string str ) : string
UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]

Private Methods

Méthode Description
HexToInt ( char h ) : int
IntToHex ( int n ) : char
IsUrlSafeChar ( char ch ) : bool
UrlDecodeInternal ( byte bytes, int offset, int count ) : byte[]
UrlDecodeInternal ( string value, Encoding encoding ) : string
UrlEncode ( byte bytes, int offset, int count ) : byte[]
UrlEncode ( byte bytes, int offset, int count, bool alwaysCreateNewReturnValue ) : byte[]
ValidateUrlEncodingParameters ( byte bytes, int offset, int count ) : bool

Method Details

UrlDecode() public static méthode

public static UrlDecode ( string str ) : string
str string
Résultat string

UrlDecodeToBytes() public static méthode

public static UrlDecodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
Résultat byte[]

UrlEncode() public static méthode

public static UrlEncode ( string str ) : string
str string
Résultat string

UrlEncodeToBytes() public static méthode

public static UrlEncodeToBytes ( byte bytes, int offset, int count ) : byte[]
bytes byte
offset int
count int
Résultat byte[]