4 references to UnicodePreambleLength
System.Net.Http (4)
System\Net\Http\HttpContent.cs (4)
69
AssertEncodingConstants(Encoding.Unicode, UnicodeCodePage,
UnicodePreambleLength
, UTF32OrUnicodePreambleFirst2Bytes,
773
return (dataLength >=
UnicodePreambleLength
775
&& data[offset + 1] == UnicodePreambleByte1) ?
UnicodePreambleLength
: 0;
821
preambleLength =
UnicodePreambleLength
;