BoxKite.Twitter.Tests.DecodeTests.QuickSubStringHelper C# (CSharp) Method

QuickSubStringHelper() private method

private QuickSubStringHelper ( string haystack, string needle, int zeroOffsetStart, int length ) : bool
haystack string
needle string
zeroOffsetStart int
length int
return bool
        private bool QuickSubStringHelper(string haystack, string needle, int zeroOffsetStart, int length)
        {
            var found = haystack.Substring(zeroOffsetStart, length);
            return (needle == found);
        }
    }