1 write to _encodedSize
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingDecoders.cs (1)
131
_encodedSize
= _sizeDecoder.Value;
11 references to _encodedSize
System.ServiceModel.NetFramingBase (11)
System\ServiceModel\Channels\FramingDecoders.cs (11)
132
if (
_encodedSize
> _sizeQuota)
134
Exception quotaExceeded = OnSizeQuotaExceeded(
_encodedSize
);
137
if (_encodedBytes == null || _encodedBytes.Length <
_encodedSize
)
139
_encodedBytes = Fx.AllocateByteArray(
_encodedSize
);
143
_bytesNeeded =
_encodedSize
;
147
if (_value != null && _valueLengthInBytes ==
_encodedSize
&& _bytesNeeded ==
_encodedSize
&&
148
size >=
_encodedSize
&& CompareBuffers(_encodedBytes, buffer, offset))
161
Buffer.BlockCopy(buffer, offset, _encodedBytes,
_encodedSize
- _bytesNeeded, bytesConsumed);
165
_value = Encoding.UTF8.GetString(_encodedBytes, 0,
_encodedSize
);
166
_valueLengthInBytes =
_encodedSize
;