Copies a heap out of wasm memory so it can be stored.
uint8.set(arrayBuffer) copies zero bytes and throws nothing (an ArrayBuffer is not
array-like), so the source is wrapped in a view first. The copy also detaches from the live
WebAssembly.Memory, whose buffer is replaced on growth.
Copies a heap out of wasm memory so it can be stored.
uint8.set(arrayBuffer)copies zero bytes and throws nothing (anArrayBufferis not array-like), so the source is wrapped in a view first. The copy also detaches from the liveWebAssembly.Memory, whose buffer is replaced on growth.