3 writes to buffer
System.ServiceModel (3)
System\ServiceModel\Channels\SessionConnectionReader.cs (3)
1130
this.
buffer
= connection.AsyncReadBuffer;
1239
buffer
= connection.AsyncReadBuffer;
1317
buffer
= DiagnosticUtility.Utility.AllocateByteArray(connection.AsyncReadBufferSize);
10 references to buffer
System.ServiceModel (10)
System\ServiceModel\Channels\SessionConnectionReader.cs (10)
1148
return DecodeMessage(
buffer
, ref offset, ref size, ref isAtEOF, timeout);
1190
preReadConnection.AddPreReadData(this.
buffer
, this.offset, this.size);
1194
result = new PreReadConnection(result, this.
buffer
, this.offset, this.size);
1251
connection.BeginRead(0,
buffer
.Length, readTimeoutHelper.RemainingTime(), onAsyncReadComplete, null);
1315
if (
buffer
== null)
1323
(EnvelopeSize - EnvelopeOffset) >=
buffer
.Length)
1325
bytesRead = connection.Read(EnvelopeBuffer, EnvelopeOffset,
buffer
.Length, timeoutHelper.RemainingTime());
1330
bytesRead = connection.Read(
buffer
, 0,
buffer
.Length, timeoutHelper.RemainingTime());
1461
if (connection.BeginRead(0,
buffer
.Length, this.readTimeoutHelper.RemainingTime(),