private ByteCompare ( Byte ib1, Byte ib2, int address ) : bool | ||
ib1 | Byte | |
ib2 | Byte | |
address | int | |
return | 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;
}