Monobjc.Tools.Generator.Parsers.Sgml.HtmlStream.SniffWhitespace C# (CSharp) Method

SniffWhitespace() private method

private SniffWhitespace ( ) : void
return void
        private void SniffWhitespace()
        {
            char ch = (char) this.PeekChar();
            while (ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n')
            {
                int i = this.pos;
                ch = (char) this.ReadChar();
                if (ch != ' ' && ch != '\t' && ch != '\r' && ch != '\n')
                {
                    this.pos = i;
                }
            }
        }