4 writes to EnvelopeBuffer
System.ServiceModel (4)
System\ServiceModel\Channels\SessionConnectionReader.cs (4)
1040
EnvelopeBuffer
= bufferManager.TakeBuffer(envelopeSize);
1070
EnvelopeBuffer
= null;
1595
EnvelopeBuffer
= bufferManager.TakeBuffer(envelopeSize);
1621
EnvelopeBuffer
= null;
12 references to EnvelopeBuffer
System.ServiceModel (12)
System\ServiceModel\Channels\SessionConnectionReader.cs (12)
1016
if (
EnvelopeBuffer
!= null)
1018
if (!object.ReferenceEquals(buffer,
EnvelopeBuffer
))
1020
System.Buffer.BlockCopy(buffer, offset,
EnvelopeBuffer
, EnvelopeOffset, bytesRead);
1046
if (
EnvelopeBuffer
!= null)
1058
message = messageEncoder.ReadMessage(new ArraySegment<byte>(
EnvelopeBuffer
, 0, EnvelopeSize), bufferManager, this.contentType);
1322
if (
EnvelopeBuffer
!= null &&
1325
bytesRead = connection.Read(
EnvelopeBuffer
, EnvelopeOffset, buffer.Length, timeoutHelper.RemainingTime());
1567
if (
EnvelopeBuffer
!= null)
1569
if (!object.ReferenceEquals(buffer,
EnvelopeBuffer
))
1570
System.Buffer.BlockCopy(buffer, offset,
EnvelopeBuffer
, EnvelopeOffset, bytesRead);
1601
if (
EnvelopeBuffer
!= null)
1609
message = messageEncoder.ReadMessage(new ArraySegment<byte>(
EnvelopeBuffer
, 0, EnvelopeSize), bufferManager);