1 write to encodedSize
System.ServiceModel (1)
System\ServiceModel\Channels\FramingDecoders.cs (1)
128
encodedSize
= sizeDecoder.Value;
11 references to encodedSize
System.ServiceModel (11)
System\ServiceModel\Channels\FramingDecoders.cs (11)
129
if (
encodedSize
> sizeQuota)
131
Exception quotaExceeded = OnSizeQuotaExceeded(
encodedSize
);
134
if (encodedBytes == null || encodedBytes.Length <
encodedSize
)
136
encodedBytes = DiagnosticUtility.Utility.AllocateByteArray(
encodedSize
);
140
bytesNeeded =
encodedSize
;
144
if (value != null && valueLengthInBytes ==
encodedSize
&& bytesNeeded ==
encodedSize
&&
145
size >=
encodedSize
&& CompareBuffers(encodedBytes, buffer, offset))
155
Buffer.BlockCopy(buffer, offset, encodedBytes,
encodedSize
- bytesNeeded, bytesConsumed);
159
value = Encoding.UTF8.GetString(encodedBytes, 0,
encodedSize
);
160
valueLengthInBytes =
encodedSize
;