2 references to ReadBOMEncoding
System.Private.DataContractSerialization (2)
System\Xml\EncodingStreamWrapper.cs (2)
203SupportedEncoding e = ReadBOMEncoding((byte)b1, (byte)b2, (byte)b3, (byte)b4, notOutOfBand, out preserve);
443SupportedEncoding declEnc = ReadBOMEncoding(buffer[offset], buffer[offset + 1], buffer[offset + 2], buffer[offset + 3], encoding == null, out preserve);