Pdelvo.Minecraft.Network.AsnKeyParser.EqualOid C# (CSharp) Method

EqualOid() static private method

static private EqualOid ( byte first, byte second ) : bool
first byte
second byte
return bool
        internal static bool EqualOid(byte[] first, byte[] second)
        {
            if (first.Length != second.Length)
            {
                return false;
            }

            for (int i = 0; i < first.Length; i++)
            {
                if (first[i] != second[i])
                {
                    return false;
                }
            }

            return true;
        }