2 writes to _buffer
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
89
_buffer
= null;
107
_buffer
= ArrayPool<byte>.Shared.Rent(_connection.ConnectionBufferSize);
6 references to _buffer
System.ServiceModel.NetFramingBase (6)
System\ServiceModel\Channels\SessionConnectionReader.cs (6)
38
Fx.Assert(
_buffer
!= null, "_buffer can't be null");
39
return DecodeMessage(
_buffer
, ref _offset, ref _size, ref _isAtEOF, timeout);
88
ArrayPool<byte>.Shared.Return(
_buffer
);
105
if (
_buffer
== null)
111
if (EnvelopeBuffer != null && (EnvelopeSize - EnvelopeOffset) >=
_buffer
.Length)
122
bytesRead = await _connection.ReadAsync(new Memory<byte>(
_buffer
, 0, _connection.ConnectionBufferSize), timeoutHelper.RemainingTime());