5 references to UTF8PreambleLength
System.Net.Http (5)
System\Net\Http\HttpContent.cs (5)
57
AssertEncodingConstants(Encoding.UTF8, UTF8CodePage,
UTF8PreambleLength
, UTF8PreambleFirst2Bytes,
762
return (dataLength >=
UTF8PreambleLength
765
&& data[offset + 2] == UTF8PreambleByte2) ?
UTF8PreambleLength
: 0;
803
if (dataLength >=
UTF8PreambleLength
&& data[offset + 2] == UTF8PreambleByte2)
806
preambleLength =
UTF8PreambleLength
;