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

◆ IsUrlSafeChar()

static bool System.Net.WebUtility.IsUrlSafeChar ( char ch)
inlinestaticprivate

Definition at line 879 of file WebUtility.cs.

880 {
881 if ((uint)(ch - 97) > 25u && (uint)(ch - 65) > 25u && ((uint)(ch - 32) > 25u || ((1 << ch - 32) & 0x3FF6702) == 0))
882 {
883 return ch == '_';
884 }
885 return true;
886 }

References System.ch.

Referenced by System.Net.WebUtility.GetEncodedBytes(), System.Net.WebUtility.UrlEncode(), and System.Net.WebUtility.UrlEncodeToBytes().