2 writes to _bytesNeeded
System.ServiceModel.NetFramingBase (2)
System\ServiceModel\Channels\FramingDecoders.cs (2)
143
_bytesNeeded
= _encodedSize;
162
_bytesNeeded
-= bytesConsumed;
6 references to _bytesNeeded
System.ServiceModel.NetFramingBase (6)
System\ServiceModel\Channels\FramingDecoders.cs (6)
147
if (_value != null && _valueLengthInBytes == _encodedSize &&
_bytesNeeded
== _encodedSize &&
150
bytesConsumed =
_bytesNeeded
;
155
bytesConsumed =
_bytesNeeded
;
156
if (size <
_bytesNeeded
)
161
Buffer.BlockCopy(buffer, offset, _encodedBytes, _encodedSize -
_bytesNeeded
, bytesConsumed);
163
if (
_bytesNeeded
== 0)