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

◆ GetUnescapedSpan()

ReadOnlySpan< byte > System.Text.Json.Utf8JsonReader.GetUnescapedSpan ( )
inlineprivate

Definition at line 1928 of file Utf8JsonReader.cs.

1929 {
1930 ReadOnlySpan<byte> readOnlySpan;
1931 if (!HasValueSequence)
1932 {
1934 }
1935 else
1936 {
1939 }
1940 ReadOnlySpan<byte> readOnlySpan2 = readOnlySpan;
1942 {
1943 int idx = readOnlySpan2.IndexOf<byte>(92);
1944 readOnlySpan2 = JsonReaderHelper.GetUnescapedSpan(readOnlySpan2, idx);
1945 }
1946 return readOnlySpan2;
1947 }
ReadOnlySequence< byte > ValueSequence

References System.Text.Json.Utf8JsonReader._stringHasEscaping, System.Text.Json.Dictionary, System.Text.Json.JsonReaderHelper.GetUnescapedSpan(), System.Text.Json.Utf8JsonReader.HasValueSequence, System.Text.Json.Utf8JsonReader.ValueSequence, and System.Text.Json.Utf8JsonReader.ValueSpan.

Referenced by System.Text.Json.Utf8JsonReader.GetByteWithQuotes(), System.Text.Json.Utf8JsonReader.GetDecimalWithQuotes(), System.Text.Json.Utf8JsonReader.GetDoubleFloatingPointConstant(), System.Text.Json.Utf8JsonReader.GetDoubleWithQuotes(), System.Text.Json.Utf8JsonReader.GetInt16WithQuotes(), System.Text.Json.Utf8JsonReader.GetInt32WithQuotes(), System.Text.Json.Utf8JsonReader.GetInt64WithQuotes(), System.Text.Json.Utf8JsonReader.GetSByteWithQuotes(), System.Text.Json.Utf8JsonReader.GetSingleFloatingPointConstant(), System.Text.Json.Utf8JsonReader.GetSingleWithQuotes(), System.Text.Json.Utf8JsonReader.GetUInt16WithQuotes(), System.Text.Json.Utf8JsonReader.GetUInt32WithQuotes(), and System.Text.Json.Utf8JsonReader.GetUInt64WithQuotes().