OpenHome.Git.Pack.Sha1Equals C# (CSharp) Method

Sha1Equals() private method

private Sha1Equals ( uint aIndex, byte aId ) : bool
aIndex uint
aId byte
return bool
        private bool Sha1Equals(uint aIndex, byte[] aId)
        {
            uint offset = aIndex * 20;

            for (uint i = 0; i < 20; i++)
            {
                if (iIndexSha1[offset + i] != aId[i])
                {
                    return (false);
                }
            }

            return (true);
        }