System\Runtime\Serialization\Json\XmlJsonReader.cs (77)
420BufferReader.SetWindow(ElementNode.BufferOffset, this.maxBytesPerRead);
438BufferReader.SkipByte();
450BufferReader.SkipByte();
456if (BufferReader.EndOfFile)
471ch = BufferReader.GetByte();
506BufferReader.SkipByte();
512BufferReader.SkipByte();
514ch = (byte)BufferReader.GetByte();
517BufferReader.SkipByte();
523BufferReader.SkipByte();
540BufferReader.SkipByte();
544ch = BufferReader.GetByte();
548BufferReader.SkipByte();
562BufferReader.SkipByte();
582BufferReader.SkipByte();
601byte[] buffer = BufferReader.GetBuffer(5, out offset);
609BufferReader.Advance(5);
623byte[] buffer = BufferReader.GetBuffer(4, out offset);
630BufferReader.Advance(4);
644byte[] buffer = BufferReader.GetBuffer(4, out offset);
651BufferReader.Advance(4);
658BufferReader.SkipByte();
845BufferReader.SetBuffer(seg.Array, seg.Offset, seg.Count, null, null);
861BufferReader.SetBuffer(stream, null, null);
1036int elementOffset = BufferReader.Offset;
1044byte[] buffer = BufferReader.GetBuffer(byteCount, out offset, out offsetMax);
1079BufferReader.Advance(byteCount);
1081BufferReader.Offset = elementOffset;
1124elementNode.NameOffset = BufferReader.Offset;
1128if (BufferReader.GetByte() == '\\')
1138int actualOffset = BufferReader.Offset - 1; // -1 to ignore " at end of local name
1147int currentCharacter = (int)BufferReader.GetByte(elementNode.NameOffset);
1156currentCharacter = (int)BufferReader.GetByte(offset);
1175byte ch = BufferReader.GetByte();
1178BufferReader.SkipByte();
1187if (BufferReader.GetByte() == JsonGlobals.ObjectByte)
1189BufferReader.SkipByte();
1209byte nextByte = BufferReader.GetByte();
1247BufferReader.SkipByte();
1269BufferReader.SkipByte();
1270char ch = (char)BufferReader.GetByte();
1273BufferReader.SkipByte();
1275byte[] buffer = BufferReader.GetBuffer(5, out offset);
1277BufferReader.Advance(4);
1281byte nextByte = BufferReader.GetByte();
1284BufferReader.SkipByte();
1286buffer = BufferReader.GetBuffer(5, out offset);
1288BufferReader.Advance(4);
1301BufferReader.SkipByte();
1346BufferReader.SkipByte();
1347if (BufferReader.GetByte() == JsonGlobals.QuoteByte)
1349BufferReader.SkipByte();
1374elementNode.BufferOffset = BufferReader.Offset;
1383byte[] buff = BufferReader.GetBuffer(3, out off);
1400buffer = BufferReader.GetBuffer(out offset, out offsetMax);
1405buffer = BufferReader.GetBuffer(MaxTextChunk, out offset, out offsetMax);
1409BufferReader.Advance(length);
1434buffer = BufferReader.GetBuffer(out offset, out offsetMax);
1440buffer = BufferReader.GetBuffer(MaxTextChunk, out offset, out offsetMax);
1446if (escaped && BufferReader.GetByte() == 0xEF)
1448offset = BufferReader.Offset;
1452BufferReader.Advance(length);
1488byte ch = BufferReader.GetByte();
1501byte[] buffer = BufferReader.GetBuffer(8, out offset, out offsetMax);
1518BufferReader.Advance(8);
1530buffer = BufferReader.GetBuffer(out offset, out offsetMax);
1534if (BufferReader.GetByte() == '\\')
1544attribute.Value.SetValue(ValueHandleType.UTF8, offset, BufferReader.Offset - 1 - offset);
1548if (BufferReader.GetByte() == JsonGlobals.MemberSeparatorByte)
1550BufferReader.SkipByte();
1555if (BufferReader.GetByte() == JsonGlobals.EndObjectByte)
1557BufferReader.SkipByte();
1600if (BufferReader.GetByte() != characterToSkip)
1602XmlExceptionHelper.ThrowTokenExpected(this, ((char)characterToSkip).ToString(), (char)BufferReader.GetByte());
1604BufferReader.SkipByte();
1612BufferReader.SkipByte();
1619byte[] buffer = BufferReader.GetBuffer(1, out offset, out offsetMax);