4 references to BigEndianUnicodePreambleLength
System.Net.Http (4)
System\Net\Http\HttpContent.cs (4)
73
AssertEncodingConstants(Encoding.BigEndianUnicode, BigEndianUnicodeCodePage,
BigEndianUnicodePreambleLength
, BigEndianUnicodePreambleFirst2Bytes,
778
return (dataLength >=
BigEndianUnicodePreambleLength
780
&& data[offset + 1] == BigEndianUnicodePreambleByte1) ?
BigEndianUnicodePreambleLength
: 0;
827
preambleLength =
BigEndianUnicodePreambleLength
;