Exemplo n.º 1
0
 public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
 {
     XmlJsonReader reader = new XmlJsonReader();
     reader.SetInput(buffer, offset, count, encoding, quotas, onClose);
     return reader;
 }
Exemplo n.º 2
0
 public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose)
 {
     XmlJsonReader reader = new XmlJsonReader();
     reader.SetInput(stream, encoding, quotas, onClose);
     return reader;
 }