Commented a few classes as abstract,

debugging..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3878 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-02-22 06:28:27 +00:00
parent 334bf08331
commit 5a9a018867
8 changed files with 31 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
package com.threerings.util {
import flash.util.ByteArray;
import flash.util.StringBuilder;
public class Util
{
public static function bytesToString (bytes :ByteArray) :String
{
var buf :StringBuilder = new StringBuilder();
for (var ii :int = 0; ii < bytes.length; ii++) {
var b :int = bytes[ii];
buf.append(HEX[b >> 4], HEX[b & 0xF]);
}
return buf.toString();
}
private static const HEX :Array = new Array("0", "1", "2", "3", "4", "5",
"6", "7", "8", "9", "A", "B", "C", "D", "E", "F");
}
}