API Reference Wasmex v0.7.0

modules

Modules

Wasmex is a fast and secure WebAssembly and WASI runtime for Elixir. It enables lightweight WebAssembly containers to be run in your Elixir backend.

Instantiates a WebAssembly module and allows calling exported functions on it.

A WebAssembly instance has its own memory, represented by the Wasmex.Memory struct. It is accessible by the Wasmex.Instance.memory/3 getter.

A compiled WebAssembly module.

A Pipe is a memory buffer that can be used in exchange for a WASM file. It can be used, for example, to capture stdout/stdin/stderr of a WASI program.