2 writes to EnvelopeBuffer
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\SessionConnectionReader.cs (2)
263
EnvelopeBuffer
= _bufferManager.TakeBuffer(envelopeSize);
285
EnvelopeBuffer
= null;
9 references to EnvelopeBuffer
System.ServiceModel.NetFramingBase (9)
System\ServiceModel\Channels\SessionConnectionReader.cs (9)
44
Fx.Assert(
EnvelopeBuffer
!= null, "EnvelopeBuffer can't be null");
46
return DecodeMessage(
EnvelopeBuffer
, ref dummyOffset, ref _size, ref _isAtEOF, timeout);
111
if (
EnvelopeBuffer
!= null && (EnvelopeSize - EnvelopeOffset) >= _buffer.Length)
115
bytesRead = await _connection.ReadAsync(new Memory<byte>(
EnvelopeBuffer
, EnvelopeOffset, _connection.ConnectionBufferSize), timeoutHelper.RemainingTime());
232
if (
EnvelopeBuffer
!= null)
234
if (!ReferenceEquals(buffer,
EnvelopeBuffer
))
236
Buffer.BlockCopy(buffer, offset,
EnvelopeBuffer
, EnvelopeOffset, bytesRead);
269
if (
EnvelopeBuffer
!= null)
277
message = _messageEncoder.ReadMessage(new ArraySegment<byte>(
EnvelopeBuffer
, 0, EnvelopeSize), _bufferManager);