Terraria.ModLoader.ModCompile.Equal C# (CSharp) Method

Equal() private static method

private static Equal ( byte a, byte b ) : bool
a byte
b byte
return bool
        private static bool Equal(byte[] a, byte[] b) {
            if (a.Length != b.Length)
                return false;

            for (int i = 0; i < a.Length; i++)
                if (a[i] != b[i])
                    return false;

            return true;
        }