Function js_sys::WebAssembly::instantiate_buffer

source ยท
pub fn instantiate_buffer(buffer: &[u8], imports: &Object) -> Promise
Expand description

The WebAssembly.instantiate() function allows you to compile and instantiate WebAssembly code.

MDN documentation