@Override
	public void append(Framedata nextframe) throws Exception {
		if (unmaskedpayload == null) {
			unmaskedpayload = ByteBuffer.wrap(nextframe.getPayloadData());
		} else {
			ByteBuffer tmp = ByteBuffer
					.allocate(nextframe.getPayloadData().length
							+ unmaskedpayload.capacity());
			tmp.put(unmaskedpayload.array());
			tmp.put(nextframe.getPayloadData());
		}
	}