System.Xml.XmlTextReaderImpl.ZeroEndingStream C# (CSharp) Méthode

ZeroEndingStream() private méthode

private ZeroEndingStream ( int pos ) : bool
pos int
Résultat bool
        private bool ZeroEndingStream(int pos)
        {
            if (_v1Compat && pos == _ps.charsUsed - 1 && _ps.chars[pos] == (char)0 && ReadData() == 0 && _ps.isStreamEof)
            {
                _ps.charsUsed--;
                return true;
            }
            return false;
        }
XmlTextReaderImpl