Hacker News new | ask | show | jobs
by cdcarter 1896 days ago
That works if the data is already in the Wasm linear memory and you need to access it from JS. If you have strings (or whatever) in JS, you need to copy them into the linear memory for the Wasm module to use.