Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HexEscape()

static string System.Uri.HexEscape ( char character)
inlinestatic

Definition at line 1032 of file Uri.cs.

1033 {
1034 if (character > 'ΓΏ')
1035 {
1036 throw new ArgumentOutOfRangeException("character");
1037 }
1038 return string.Create(3, (byte)character, delegate(Span<char> chars, byte b)
1039 {
1040 chars[0] = '%';
1042 });
1043 }
static void ToCharsBuffer(byte value, Span< char > buffer, int startingIndex=0, Casing casing=Casing.Upper)

References System.chars, System.Runtime.Serialization.Dictionary, and System.HexConverter.ToCharsBuffer().