VAGSuite.frmBinCompare.ByteCompare C# (CSharp) Метод

ByteCompare() приватный Метод

private ByteCompare ( Byte ib1, Byte ib2, int address ) : bool
ib1 Byte
ib2 Byte
address int
Результат bool
        private bool ByteCompare(Byte[] ib1, Byte[] ib2, int address)
        {
            for (int t = 0; t < 16; t++)
            {
                if (m_OutsideSymbolRangeCheck)
                {
                    if (CheckOutsideSymbolRange(address + t))
                    {
                        if ((Byte)ib1.GetValue(address + t) != (Byte)ib2.GetValue(address+t))
                        {
                            return false;
                        }
                    }
                }
                else
                {
                    if ((Byte)ib1.GetValue(address + t) != (Byte)ib2.GetValue(address+t))
                    {
                        return false;
                    }
                }
            }
            return true;
        }