scripts
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
|
||||
namespace Hjg.Pngcs
|
||||
{
|
||||
// Token: 0x0200001E RID: 30
|
||||
internal class PngCsUtils
|
||||
{
|
||||
// Token: 0x060000F6 RID: 246 RVA: 0x00004E3B File Offset: 0x0000303B
|
||||
internal static bool arraysEqual4(byte[] ar1, byte[] ar2)
|
||||
{
|
||||
return ar1[0] == ar2[0] && ar1[1] == ar2[1] && ar1[2] == ar2[2] && ar1[3] == ar2[3];
|
||||
}
|
||||
|
||||
// Token: 0x060000F7 RID: 247 RVA: 0x00004E60 File Offset: 0x00003060
|
||||
internal static bool arraysEqual(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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user