2 writes to bytesNeeded
System.ServiceModel (2)
System\ServiceModel\Channels\FramingDecoders.cs (2)
140
bytesNeeded
= encodedSize;
156
bytesNeeded
-= bytesConsumed;
6 references to bytesNeeded
System.ServiceModel (6)
System\ServiceModel\Channels\FramingDecoders.cs (6)
144
if (value != null && valueLengthInBytes == encodedSize &&
bytesNeeded
== encodedSize &&
147
bytesConsumed =
bytesNeeded
;
152
bytesConsumed =
bytesNeeded
;
153
if (size <
bytesNeeded
)
155
Buffer.BlockCopy(buffer, offset, encodedBytes, encodedSize -
bytesNeeded
, bytesConsumed);
157
if (
bytesNeeded
== 0)