public void appendCreateSystemArray(byte type, int dimensions, int length) {
		if (length < 255) {
			byte[] buf = { XsonConst.CONTROL_CREATE_SYS_ARRAY1, type,
					(byte) dimensions, (byte) length };
			this.append(buf);
		} else {// > 255
			byte[] heads = { XsonConst.CONTROL_CREATE_SYS_ARRAY2, type,
					(byte) dimensions };
			byte[] lens = ByteUtils.intToByte(length);
			if (lens.length == 3) {
				heads[0] = XsonConst.CONTROL_CREATE_SYS_ARRAY3;
			} else if (lens.length == 4) {
				heads[0] = XsonConst.CONTROL_CREATE_SYS_ARRAY;
			}
			this.append(heads);
			this.append(lens);
		}
	}