API reference › @evolu/sqlite-wasm › copyWasmBytes
function copyWasmBytes(
deps: SqliteWasmDep,
): (ptr: WasmPtr, byteLength: number) => Uint8Array<ArrayBuffer>;
Defined in: packages/sqlite-wasm/src/Memory.ts:119
Copies bytes out of wasm memory into a new ArrayBuffer, so the result can
be transferred to another worker.