File: connected-users-websocket/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as

Recommend this page to a friend!
  Classes of Igor Escobar   Terminal Crossword   connected-users-websocket/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as   Download  
File: connected-users-websocket/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 2 years ago
Size: 520 bytes
 

Contents

Class file image Download
/** * 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; } } }