public byte[] getBytes(byte[] buffer, int offset, int length) {
		if (length == 0) length = payload.length;
		for(int i = offset; i < length; i++) {
			buffer[i] = (byte) get();
		}
		return buffer;
	}