18 for (
int i = 0; i < data.
Length; i++)
52 return (
int)(tokenType - 7) <= 4;
77 if ((nuint)(
void*)
intPtr2 >= (nuint)8
u)
115 return (
int)(
void*)(
intPtr + 6);
117 return (
int)(
void*)(
intPtr + 5);
119 return (
int)(
void*)(
intPtr + 4);
123 if ((nuint)(
void*)
intPtr2 >= (nuint)4
u)
182 return (
int)(
void*)
intPtr;
184 return (
int)(
void*)(
intPtr + 1);
186 return (
int)(
void*)(
intPtr + 3);
188 return (
int)(
void*)(
intPtr + 2);
190 return (
int)(
void*)(
intPtr + 7);
214 return (
int)(num * 283686952306184
L >> 57);
264 if (
span.Length == 3)
272 else if (
span.Length == 8)
276 value =
float.PositiveInfinity;
282 value =
float.NegativeInfinity;
291 if (
span.Length == 3)
299 else if (
span.Length == 8)
303 value =
double.PositiveInfinity;
309 value =
double.NegativeInfinity;
static ArrayPool< T > Shared
static unsafe OperationStatus DecodeFromUtf8InPlace(Span< byte > buffer, out int bytesWritten)
static unsafe OperationStatus DecodeFromUtf8(ReadOnlySpan< byte > utf8, Span< byte > bytes, out int bytesConsumed, out int bytesWritten, bool isFinalBlock=true)
static bool TryParse(ReadOnlySpan< byte > source, out bool value, out int bytesConsumed, char standardFormat='\0')
static bool IsHexChar(int c)
static Vector< int > LessThan(Vector< float > left, Vector< float > right)
static bool IsHardwareAccelerated
static Vector< int > Equals(Vector< float > left, Vector< float > right)
static ReadOnlySpan< byte > PositiveInfinityValue
static ReadOnlySpan< byte > NaNValue
static ReadOnlySpan< byte > NegativeInfinityValue
static bool IsInRangeInclusive(uint value, uint lowerBound, uint upperBound)
static bool TryParseAsISO(ReadOnlySpan< byte > source, out DateTime value)
static unsafe int IndexOfOrLessThan(ref byte searchSpace, byte value0, byte value1, byte lessThan, int length)
static bool TryGetEscapedDateTime(ReadOnlySpan< byte > source, out DateTime value)
static string TranscodeHelper(ReadOnlySpan< byte > utf8Unescaped)
static ReadOnlySpan< byte > GetUnescapedSpan(ReadOnlySpan< byte > utf8Source, int idx)
static JsonValueKind ToValueKind(this JsonTokenType tokenType)
static bool UnescapeAndCompare(ReadOnlySequence< byte > utf8Source, ReadOnlySpan< byte > other)
static string GetUnescapedString(ReadOnlySpan< byte > utf8Source, int idx)
static bool TryGetEscapedDateTimeOffset(ReadOnlySpan< byte > source, out DateTimeOffset value)
static bool UnescapeAndCompare(ReadOnlySpan< byte > utf8Source, ReadOnlySpan< byte > other)
static bool TryGetEscapedGuid(ReadOnlySpan< byte > source, out Guid value)
static int LocateFirstFoundByte(Vector< byte > match)
static int GetUtf8FromText(ReadOnlySpan< char > text, Span< byte > dest)
static bool IsHexDigit(byte nextByte)
static void Unescape(ReadOnlySpan< byte > source, Span< byte > destination, int idx, out int written)
static int LocateFirstFoundByte(ulong match)
static int IndexOfQuoteOrAnyControlOrBackSlash(this ReadOnlySpan< byte > span)
static bool TryGetFloatingPointConstant(ReadOnlySpan< byte > span, out float value)
static bool TryGetUnescapedBase64Bytes(ReadOnlySpan< byte > utf8Source, int idx, [NotNullWhen(true)] out byte[] bytes)
static readonly UTF8Encoding s_utf8Encoding
static string GetTextFromUtf8(ReadOnlySpan< byte > utf8Text)
static bool TryGetFloatingPointConstant(ReadOnlySpan< byte > span, out double value)
static bool IsTokenTypePrimitive(JsonTokenType tokenType)
static bool TryDecodeBase64(ReadOnlySpan< byte > utf8Unescaped, [NotNullWhen(true)] out byte[] bytes)
static int CountNewLines(ReadOnlySpan< byte > data)
static bool TryDecodeBase64InPlace(Span< byte > utf8Unescaped, [NotNullWhen(true)] out byte[] bytes)
static int GetUtf8ByteCount(ReadOnlySpan< char > text)
static InvalidOperationException GetInvalidOperationException_ReadInvalidUTF8(DecoderFallbackException innerException)
static ArgumentException GetArgumentException_ReadInvalidUTF16(EncoderFallbackException innerException)
static void ThrowInvalidOperationException_ReadInvalidUTF16(int charAsInt)
ReadOnlySpan< T > Slice(int start)
void CopyTo(Span< T > destination)
int EncodeToUtf8(Span< byte > destination)