NGit.Patch.Patch.MatchAny C# (CSharp) Method

MatchAny() private static method

private static MatchAny ( byte buf, int c, byte srcs ) : bool
buf byte
c int
srcs byte
return bool
        private static bool MatchAny(byte[] buf, int c, byte[][] srcs)
        {
            foreach (byte[] s in srcs)
            {
                if (RawParseUtils.Match(buf, c, s) >= 0)
                {
                    return true;
                }
            }
            return false;
        }