tweetcast/client/lib/websocket-js/flash-src/third-party/com/hurlant/util/ArrayUtil.as
changeset 311 13702105c5ee
parent 310 526d3e411736
child 312 f8336354d107
child 314 0f1e6ce19b6d
--- a/tweetcast/client/lib/websocket-js/flash-src/third-party/com/hurlant/util/ArrayUtil.as	Mon Oct 10 15:24:28 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-/**
- * 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;
-		}
-	}
-	
-}
\ No newline at end of file