SetInput() public method

public SetInput ( Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose ) : void
stream Stream
encoding Encoding
quotas XmlDictionaryReaderQuotas
onClose OnXmlDictionaryReaderClose
return void
 static public XmlDictionaryReader CreateTextReader(Stream stream, Encoding encoding,
                                                    XmlDictionaryReaderQuotas quotas,
                                                    OnXmlDictionaryReaderClose onClose)
 {
     XmlUTF8TextReader reader = new XmlUTF8TextReader();
     reader.SetInput(stream, encoding, quotas, onClose);
     return reader;
 }
 static public XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count,
                                                    Encoding encoding,
                                                    XmlDictionaryReaderQuotas quotas,
                                                    OnXmlDictionaryReaderClose onClose)
 {
     XmlUTF8TextReader reader = new XmlUTF8TextReader();
     reader.SetInput(buffer, offset, count, encoding, quotas, onClose);
     return reader;
 }