     protected static const HEX :Array = [ "0", "1", "2", "3", "4",
         "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" ];
 
+    /** Decimal digits. */
+    protected static const DECIMAL :Array = [ "0", "1", "2", "3", "4",
+        "5", "6", "7", "8", "9" ];
+
     /** A regular expression that finds URLs. */
     protected static const URL_REGEXP :RegExp =
         new RegExp("(http|https|ftp)://\\S+", "i");

    }

    /**
     * Internal helper function for parseInteger and parseUnsignedInteger.
     */
    protected static function parseInt0 (str :String, radix :uint, allowNegative :Boolean) :Number

package com.threerings.util {

import flash.utils.ByteArray;
import flash.utils.describeType; // function import

public class StringUtil
