From ff274735a9cefd48eef08ab2ea8d125cda7b68bf Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Sat, 19 Aug 2006 01:05:53 +0000 Subject: [PATCH] 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 --- src/as/com/threerings/io/TypedArray.as | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/as/com/threerings/io/TypedArray.as b/src/as/com/threerings/io/TypedArray.as index 9aa5c9384..84b3eb819 100644 --- a/src/as/com/threerings/io/TypedArray.as +++ b/src/as/com/threerings/io/TypedArray.as @@ -1,5 +1,7 @@ package com.threerings.io { +import flash.utils.ByteArray; + import com.threerings.util.ClassUtil; import com.threerings.util.Cloneable; @@ -31,6 +33,9 @@ public dynamic class TypedArray extends Array } else if (of === Number) { return "[D"; + + } else if (of === ByteArray) { + return "[[B"; } var cname :String = Translations.getToServer(