ME3Explorer.Unreal.DLCPackage.CompareByteArray C# (CSharp) Method

CompareByteArray() public method

public CompareByteArray ( byte a1, byte a2 ) : bool
a1 byte
a2 byte
return bool
        public bool CompareByteArray(byte[] a1, byte[] a2)
        {
            if (a1.Length != a2.Length)
                return false;
            for (int i = 0; i < a1.Length; i++)
                if (a1[i] != a2[i])
                    return false;
            return true;
        }