GitSharp.Core.Patch.Patch.MatchAny C# (CSharp) 메소드

MatchAny() 개인적인 정적인 메소드

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