We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
emscripten_memcpy_js
1 parent 1fc58f6 commit a1e9917Copy full SHA for a1e9917
libs/typescript/ts-utils/wasm-utils.ts
@@ -84,6 +84,9 @@ export async function loadWasm<Exports extends WebAssembly.Exports>({
84
},
85
emscripten_notify_memory_growth: (x: undefined) =>
86
console.log('emscripten_notify_memory_growth'),
87
+ emscripten_memcpy_js: (dest: any, src: any, num: any) => {
88
+ HEAPU8.copyWithin(dest, src, src + num);
89
+ },
90
emscripten_memcpy_big: (dest: any, src: any, num: any) => {
91
HEAPU8.copyWithin(dest, src, src + num);
92
0 commit comments