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