23 references to GetBuffer
System.Private.DataContractSerialization (23)
System\Runtime\Serialization\Json\XmlJsonReader.cs (6)
597
byte[] buffer = BufferReader.
GetBuffer
(5, out offset);
619
byte[] buffer = BufferReader.
GetBuffer
(4, out offset);
640
byte[] buffer = BufferReader.
GetBuffer
(4, out offset);
1195
byte[] buffer = BufferReader.
GetBuffer
(5, out offset);
1206
buffer = BufferReader.
GetBuffer
(5, out offset);
1303
byte[] buff = BufferReader.
GetBuffer
(3, out off);
System\Xml\XmlBufferReader.cs (8)
377
float f = BinaryPrimitives.ReadSingleLittleEndian(
GetBuffer
(sizeof(float), out int offset).AsSpan(offset, sizeof(float)));
384
double d = BinaryPrimitives.ReadDoubleLittleEndian(
GetBuffer
(sizeof(double), out int offset).AsSpan(offset, sizeof(double)));
397
byte[] buffer =
GetBuffer
(ValueHandleLength.Decimal, out int offset);
415
byte[] buffer =
GetBuffer
(ValueHandleLength.UniqueId, out offset);
468
_ =
GetBuffer
(ValueHandleLength.Guid, out offset);
477
_ =
GetBuffer
(length, out offset);
495
GetBuffer
(dst.Length, out _offset)
940
ReadOnlySpan<byte> buffer =
GetBuffer
(sizeof(T), out int offset)
System\Xml\XmlUTF8TextReader.cs (9)
609
byte[] buffer = BufferReader.
GetBuffer
(5, out offset);
642
buffer = BufferReader.
GetBuffer
(2, out offset);
896
byte[] buff = BufferReader.
GetBuffer
(3, out off);
981
byte[] buffer = BufferReader.
GetBuffer
(nameLength, out offset);
1029
byte[] buffer = BufferReader.
GetBuffer
(3, out offset);
1047
byte[] buffer = BufferReader.
GetBuffer
(7, out offset);
1074
buffer = BufferReader.
GetBuffer
(3, out offset);
1182
BufferReader.
GetBuffer
(3, out _);
1364
byte[] buffer = BufferReader.
GetBuffer
(3, out offset);