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

◆ CompareToSequence()

bool System.Text.Json.Utf8JsonReader.CompareToSequence ( ReadOnlySpan< byte > other)
inlineprivate

Definition at line 360 of file Utf8JsonReader.cs.

361 {
363 {
365 }
367 if (valueSequence.Length != other.Length)
368 {
369 return false;
370 }
371 int num = 0;
373 while (enumerator.MoveNext())
374 {
375 ReadOnlySpan<byte> span = enumerator.Current.Span;
376 if (other.Slice(num).StartsWith(span))
377 {
378 num += span.Length;
379 continue;
380 }
381 return false;
382 }
383 return true;
384 }
bool UnescapeSequenceAndCompare(ReadOnlySpan< byte > other)
ReadOnlySequence< byte > ValueSequence

References System.Text.Json.Utf8JsonReader._stringHasEscaping, System.Text.Json.Dictionary, System.other, System.Text.Json.Utf8JsonReader.UnescapeSequenceAndCompare(), and System.Text.Json.Utf8JsonReader.ValueSequence.

Referenced by System.Text.Json.Utf8JsonReader.TextEqualsHelper().