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