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