C# Class System.Yaml.UriEncoding

Escape / Unescape string in URI encoding format Charset that is not escaped is represented NonUriChar member. NonUriChar = new Regex(@"[^0-9A-Za-z\-_.!~*'()\\;/?:@&=$,\[\]]");
Datei anzeigen Open project: jbruening/YamlSerializer-Fork Class Usage Examples

Public Methods

Method Description
Escape ( string s ) : string
EscapeForTag ( string s ) : string
Unescape ( string s ) : string

Private Methods

Method Description
HexToInt ( char c ) : int
IntToHex ( int c ) : string
IntToHex ( int c1, int c2 ) : string
IntToHex ( int c1, int c2, int c3 ) : string

Method Details

Escape() public static method

public static Escape ( string s ) : string
s string
return string

EscapeForTag() public static method

public static EscapeForTag ( string s ) : string
s string
return string

Unescape() public static method

public static Unescape ( string s ) : string
s string
return string