2 writes to _initialReadBuffer
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
915
_initialReadBuffer
= initialBuffer;
1251
_initialReadBuffer
= new ArraySegment<byte>(_initialReadBuffer.Array, _initialReadBuffer.Offset + bytesToCopy, _initialReadBuffer.Count - bytesToCopy);
10 references to _initialReadBuffer
dotnet-svcutil-lib (10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (10)
1033
if (
_initialReadBuffer
.Count != 0)
1249
int bytesToCopy =
_initialReadBuffer
.Count > count ? count :
_initialReadBuffer
.Count;
1250
Buffer.BlockCopy(
_initialReadBuffer
.Array,
_initialReadBuffer
.Offset, buffer, offset, bytesToCopy);
1251
_initialReadBuffer = new ArraySegment<byte>(
_initialReadBuffer
.Array,
_initialReadBuffer
.Offset + bytesToCopy,
_initialReadBuffer
.Count - bytesToCopy);
1272
_webSocket.ReceiveAsync(new ArraySegment<byte>(
_initialReadBuffer
.Array), cancelToken);
1294
_bufferManager.ReturnBuffer(
_initialReadBuffer
.Array);