Terraria v1.4.4.9
Terraria source code documentation
All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros
System.UriHelper Class Reference

Static Package Functions

static unsafe bool TestForSubPath (char *selfPtr, int selfLength, char *otherPtr, int otherLength, bool ignoreCase)
 
static string EscapeString (string stringToEscape, bool checkExistingEscaped, ReadOnlySpan< bool > unreserved, char forceEscape1='\0', char forceEscape2='\0')
 
static void EscapeString (ReadOnlySpan< char > stringToEscape, ref System.Text.ValueStringBuilder dest, bool checkExistingEscaped, char forceEscape1='\0', char forceEscape2='\0')
 
static unsafe char[] UnescapeString (string input, int start, int end, char[] dest, ref int destPosition, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery)
 
static unsafe char[] UnescapeString (char *pStr, int start, int end, char[] dest, ref int destPosition, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery)
 
static unsafe void UnescapeString (string input, int start, int end, ref System.Text.ValueStringBuilder dest, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery)
 
static unsafe void UnescapeString (ReadOnlySpan< char > input, ref System.Text.ValueStringBuilder dest, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery)
 
static unsafe void UnescapeString (char *pStr, int start, int end, ref System.Text.ValueStringBuilder dest, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser syntax, bool isQuery)
 
static void EscapeAsciiChar (byte b, ref System.Text.ValueStringBuilder to)
 
static char DecodeHexChars (int first, int second)
 
static bool IsNotSafeForUnescape (char ch)
 
static bool IsGenDelim (char ch)
 
static bool IsLWS (char ch)
 
static bool IsAsciiLetter (char character)
 
static bool IsAsciiLetterOrDigit (char character)
 
static bool IsHexDigit (char character)
 
static bool IsBidiControlCharacter (char ch)
 
static unsafe string StripBidiControlCharacters (ReadOnlySpan< char > strToClean, string backingString=null)
 

Static Package Attributes

static readonly Encoding s_noFallbackCharUTF8 = Encoding.GetEncoding(Encoding.UTF8.CodePage, new EncoderReplacementFallback(""), new DecoderReplacementFallback(""))
 
static readonly char[] s_WSchars = new char[4] { ' ', '\n', '\r', '\t' }
 

Properties

static ReadOnlySpan< boolUnreservedReservedTable [get]
 
static ReadOnlySpan< boolUnreservedTable [get]
 

Static Private Member Functions

static void EscapeStringToBuilder (ReadOnlySpan< char > stringToEscape, ref System.Text.ValueStringBuilder vsb, ReadOnlySpan< bool > noEscape, bool checkExistingEscaped)
 

Detailed Description

Definition at line 6 of file UriHelper.cs.


The documentation for this class was generated from the following file: