class CompoundKey extends Key {

    public static byte[][] decode(byte[] key) {
	int num = key[0] & 0xFF;
	byte[][] keyParts = new byte[num][];
	int pos = 1;
	for (int i = 0; i < num; ++i) {
	    int length = Bytes.toInt(key, pos);
	    pos += 4;
	    byte[] keyPart = new byte[length];
	    System.arraycopy(key, pos, keyPart, 0, length);
	    pos += length;
	    keyParts[i] = keyPart;
	}
	return keyParts;
    }

    private  CompoundKey(boolean encoded, byte[]... keyParts);

}