Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Text.Json.JsonReaderHelper Class Reference

Static Public Member Functions

static int CountNewLines (ReadOnlySpan< byte > data)
 
static bool IsTokenTypePrimitive (JsonTokenType tokenType)
 
static bool IsHexDigit (byte nextByte)
 
static int IndexOfQuoteOrAnyControlOrBackSlash (this ReadOnlySpan< byte > span)
 
static bool TryGetEscapedDateTime (ReadOnlySpan< byte > source, out DateTime value)
 
static bool TryGetEscapedDateTimeOffset (ReadOnlySpan< byte > source, out DateTimeOffset value)
 
static bool TryGetEscapedGuid (ReadOnlySpan< byte > source, out Guid value)
 
static bool TryGetFloatingPointConstant (ReadOnlySpan< byte > span, out float value)
 
static bool TryGetFloatingPointConstant (ReadOnlySpan< byte > span, out double value)
 
static bool TryGetUnescapedBase64Bytes (ReadOnlySpan< byte > utf8Source, int idx, [NotNullWhen(true)] out byte[] bytes)
 
static string GetUnescapedString (ReadOnlySpan< byte > utf8Source, int idx)
 
static ReadOnlySpan< byte > GetUnescapedSpan (ReadOnlySpan< byte > utf8Source, int idx)
 
static bool UnescapeAndCompare (ReadOnlySpan< byte > utf8Source, ReadOnlySpan< byte > other)
 
static bool UnescapeAndCompare (ReadOnlySequence< byte > utf8Source, ReadOnlySpan< byte > other)
 
static bool TryDecodeBase64InPlace (Span< byte > utf8Unescaped, [NotNullWhen(true)] out byte[] bytes)
 
static bool TryDecodeBase64 (ReadOnlySpan< byte > utf8Unescaped, [NotNullWhen(true)] out byte[] bytes)
 
static string TranscodeHelper (ReadOnlySpan< byte > utf8Unescaped)
 

Static Public Attributes

static readonly UTF8Encoding s_utf8Encoding = new UTF8Encoding(encoderShouldEmitUTF8Identifier: false, throwOnInvalidBytes: true)
 
static int
 

Static Package Functions

static JsonValueKind ToValueKind (this JsonTokenType tokenType)
 
static int GetUtf8ByteCount (ReadOnlySpan< char > text)
 
static int GetUtf8FromText (ReadOnlySpan< char > text, Span< byte > dest)
 
static string GetTextFromUtf8 (ReadOnlySpan< byte > utf8Text)
 
static void Unescape (ReadOnlySpan< byte > source, Span< byte > destination, int idx, out int written)
 

Static Private Member Functions

static unsafe int IndexOfOrLessThan (ref byte searchSpace, byte value0, byte value1, byte lessThan, int length)
 
static int LocateFirstFoundByte (Vector< byte > match)
 
static int LocateFirstFoundByte (ulong match)
 

Detailed Description

Definition at line 10 of file JsonReaderHelper.cs.


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