Allow creation of an array of arrays of bytes...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4332 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
package com.threerings.io {
|
package com.threerings.io {
|
||||||
|
|
||||||
|
import flash.utils.ByteArray;
|
||||||
|
|
||||||
import com.threerings.util.ClassUtil;
|
import com.threerings.util.ClassUtil;
|
||||||
import com.threerings.util.Cloneable;
|
import com.threerings.util.Cloneable;
|
||||||
|
|
||||||
@@ -31,6 +33,9 @@ public dynamic class TypedArray extends Array
|
|||||||
|
|
||||||
} else if (of === Number) {
|
} else if (of === Number) {
|
||||||
return "[D";
|
return "[D";
|
||||||
|
|
||||||
|
} else if (of === ByteArray) {
|
||||||
|
return "[[B";
|
||||||
}
|
}
|
||||||
|
|
||||||
var cname :String = Translations.getToServer(
|
var cname :String = Translations.getToServer(
|
||||||
|
|||||||
Reference in New Issue
Block a user