System\Runtime\Serialization\Json\XmlJsonReader.cs (77)
415BufferReader.SetWindow(ElementNode.BufferOffset, _maxBytesPerRead);
434BufferReader.SkipByte();
446BufferReader.SkipByte();
452if (BufferReader.EndOfFile)
467ch = BufferReader.GetByte();
502BufferReader.SkipByte();
508BufferReader.SkipByte();
510ch = (byte)BufferReader.GetByte();
513BufferReader.SkipByte();
519BufferReader.SkipByte();
536BufferReader.SkipByte();
540ch = BufferReader.GetByte();
544BufferReader.SkipByte();
558BufferReader.SkipByte();
578BufferReader.SkipByte();
597byte[] buffer = BufferReader.GetBuffer(5, out offset);
605BufferReader.Advance(5);
619byte[] buffer = BufferReader.GetBuffer(4, out offset);
626BufferReader.Advance(4);
640byte[] buffer = BufferReader.GetBuffer(4, out offset);
647BufferReader.Advance(4);
654BufferReader.SkipByte();
792BufferReader.SetBuffer(seg.Array!, seg.Offset, seg.Count, null, null);
806BufferReader.SetBuffer(stream, null, null);
956int elementOffset = BufferReader.Offset;
964byte[] buffer = BufferReader.GetBuffer(byteCount, out offset, out offsetMax);
999BufferReader.Advance(byteCount);
1001BufferReader.Offset = elementOffset;
1044elementNode.NameOffset = BufferReader.Offset;
1048if (BufferReader.GetByte() == '\\')
1058int actualOffset = BufferReader.Offset - 1; // -1 to ignore " at end of local name
1067int currentCharacter = (int)BufferReader.GetByte(elementNode.NameOffset);
1076currentCharacter = (int)BufferReader.GetByte(offset);
1095byte ch = BufferReader.GetByte();
1098BufferReader.SkipByte();
1107if (BufferReader.GetByte() == JsonGlobals.ObjectByte)
1109BufferReader.SkipByte();
1129byte nextByte = BufferReader.GetByte();
1167BufferReader.SkipByte();
1189BufferReader.SkipByte();
1190char ch = (char)BufferReader.GetByte();
1193BufferReader.SkipByte();
1195byte[] buffer = BufferReader.GetBuffer(5, out offset);
1197BufferReader.Advance(4);
1201byte nextByte = BufferReader.GetByte();
1204BufferReader.SkipByte();
1206buffer = BufferReader.GetBuffer(5, out offset);
1208BufferReader.Advance(4);
1221BufferReader.SkipByte();
1266BufferReader.SkipByte();
1267if (BufferReader.GetByte() == JsonGlobals.QuoteByte)
1269BufferReader.SkipByte();
1294elementNode.BufferOffset = BufferReader.Offset;
1303byte[] buff = BufferReader.GetBuffer(3, out off);
1320buffer = BufferReader.GetBuffer(out offset, out offsetMax);
1325buffer = BufferReader.GetBuffer(MaxTextChunk, out offset, out offsetMax);
1329BufferReader.Advance(length);
1354buffer = BufferReader.GetBuffer(out offset, out offsetMax);
1360buffer = BufferReader.GetBuffer(MaxTextChunk, out offset, out offsetMax);
1366if (escaped && BufferReader.GetByte() == 0xEF)
1368offset = BufferReader.Offset;
1372BufferReader.Advance(length);
1408byte ch = BufferReader.GetByte();
1421byte[] buffer = BufferReader.GetBuffer(8, out offset, out offsetMax);
1438BufferReader.Advance(8);
1450BufferReader.GetBuffer(out offset, out _);
1454if (BufferReader.GetByte() == '\\')
1464attribute.Value.SetValue(ValueHandleType.UTF8, offset, BufferReader.Offset - 1 - offset);
1468if (BufferReader.GetByte() == JsonGlobals.MemberSeparatorByte)
1470BufferReader.SkipByte();
1475if (BufferReader.GetByte() == JsonGlobals.EndObjectByte)
1477BufferReader.SkipByte();
1520if (BufferReader.GetByte() != characterToSkip)
1522XmlExceptionHelper.ThrowTokenExpected(this, ((char)characterToSkip).ToString(), (char)BufferReader.GetByte());
1524BufferReader.SkipByte();
1532BufferReader.SkipByte();
1539byte[] buffer = BufferReader.GetBuffer(1, out offset, out offsetMax);