public BigworldXmlReader(Stream contentStream)
        {
            var content = XmlDecoder.Decode(contentStream);

            _contentStream             = content.ToStream();
            _reader                    = new XmlTextReader(_contentStream);
            _reader.WhitespaceHandling = WhitespaceHandling.None;
        }
        public BigworldXmlReader(string path)
        {
            var content = XmlDecoder.Decode(path, out _encodeType);

            _contentStream             = content.ToStream();
            _reader                    = new XmlTextReader(_contentStream);
            _reader.WhitespaceHandling = WhitespaceHandling.None;
        }
Example #3
0
        public BigworldXmlReader(string path)
        {
            var content = XmlDecoder.Decode(path);

#if DEBUG
            this.DecodedXml = content;
#endif
            _contentStream             = content.ToStream();
            _reader                    = new XmlTextReader(_contentStream);
            _reader.WhitespaceHandling = WhitespaceHandling.None;
        }