function optimise(data, level) {
	try {
		const retptr = wasm.__wbindgen_export_0.value - 16;
		wasm.__wbindgen_export_0.value = retptr;
		var ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
		var len0 = WASM_VECTOR_LEN;
		wasm.optimise(retptr, ptr0, len0, level);
		var r0 = getInt32Memory0()[retptr / 4 + 0];
		var r1 = getInt32Memory0()[retptr / 4 + 1];
		var v1 = getArrayU8FromWasm0(r0, r1).slice();
		wasm.__wbindgen_free(r0, r1 * 1);
		return v1;
	} finally {
		wasm.__wbindgen_export_0.value += 16;
	}
}
@param {Uint8Array} data
@param {number} level
@returns {Uint8Array}