public static function getSize($type)
    {
        if (array_key_exists($type, self::$formatLength)) {
            return self::$formatLength[$type];
        } else {
            return Pel::fmt('Unknown format: 0x%X', $type);
        }
    }