4 writes to _preReadData
System.ServiceModel.NetFramingBase (4)
System\ServiceModel\Channels\Connection.cs (4)
50_preReadData = initialData; 58_preReadData = Fx.AllocateByteArray(initialData.Length + _preReadData.Length); 64_preReadData = initialData; 74_preReadData = _preReadData.Slice(bytesToCopy);
9 references to _preReadData
System.ServiceModel.NetFramingBase (9)
System\ServiceModel\Channels\Connection.cs (9)
55if (!_preReadData.IsEmpty) 57Memory<byte> tempBuffer = _preReadData; 58_preReadData = Fx.AllocateByteArray(initialData.Length + _preReadData.Length); 59tempBuffer.CopyTo(_preReadData); 60initialData.CopyTo(_preReadData.Slice(tempBuffer.Length)); 70if (!_preReadData.IsEmpty) 72int bytesToCopy = Math.Min(buffer.Length, _preReadData.Length); 73_preReadData.Slice(0, bytesToCopy).CopyTo(buffer); 74_preReadData = _preReadData.Slice(bytesToCopy);