System.Net.Http.CurlResponseHeaderReader.HeaderBufferSpan.SkipSpace C# (CSharp) Method

SkipSpace() public method

public SkipSpace ( int &index ) : bool
index int
return bool
            public bool SkipSpace(ref int index)
            {
                bool foundSpace = false;
                for (; index < Length; index++)
                {
                    if (_pointer[index] == ' ' || _pointer[index] == '\t')
                    {
                        foundSpace = true;
                    }
                    else
                    {
                        break;
                    }
                }
                return foundSpace;
            }