Sha256: 916791e312d638018e7a62d5db4c278e59aa3f444457f00c6adc78820e3d799d
Contents?: true
Size: 520 Bytes
Versions: 19
Compression:
Stored size: 520 Bytes
Contents
/** * ArrayUtil * * A class that allows to compare two ByteArrays. * Copyright (c) 2007 Henri Torgemane * * See LICENSE.txt for full license information. */ package com.hurlant.util { import flash.utils.ByteArray; public class ArrayUtil { public static function equals(a1:ByteArray, a2:ByteArray):Boolean { if (a1.length != a2.length) return false; var l:int = a1.length; for (var i:int=0;i<l;i++) { if (a1[i]!=a2[i]) return false; } return true; } } }
Version data entries
19 entries across 19 versions & 4 rubygems