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

◆ HasMoreDataMultiSegment() [2/2]

bool System.Text.Json.Utf8JsonReader.HasMoreDataMultiSegment ( ExceptionResource resource)
inlineprivate

Definition at line 2129 of file Utf8JsonReader.cs.

2130 {
2131 if (_consumed >= (uint)_buffer.Length)
2132 {
2133 if (IsLastSpan)
2134 {
2135 ThrowHelper.ThrowJsonReaderException(ref this, resource, 0);
2136 }
2137 if (!GetNextSpan())
2138 {
2139 if (IsLastSpan)
2140 {
2141 ThrowHelper.ThrowJsonReaderException(ref this, resource, 0);
2142 }
2143 return false;
2144 }
2145 }
2146 return true;
2147 }

References System.Text.Json.Utf8JsonReader._buffer, System.Text.Json.Utf8JsonReader._consumed, System.Text.Json.Dictionary, System.Text.Json.Utf8JsonReader.GetNextSpan(), System.Text.Json.Utf8JsonReader.IsLastSpan, System.ReadOnlySpan< T >.Length, and System.Text.Json.ThrowHelper.ThrowJsonReaderException().