wasm_interop library

Dart wrapper for WebAssembly JavaScript API

Classes

Global
WebAssembly Global instance. Could be shared between different instantiated modules.
Instance
Instantiated WebAssembly module.
Memory
WebAssembly Memory instance. Could be shared between different instantiated modules.
Module
Compiled WebAssembly module.
ModuleExportDescriptor
Module exports entry.
ModuleImportDescriptor
Module imports entry.
Table
WebAssembly Table instance. Could be shared between different instantiated modules.

Extensions

JsBigInt
BigInt interop
ModuleExportDescriptorKind
Extension converting kind string to enum.
ModuleImportDescriptorKind
Extension converting kind string to enum.

Enums

ImportExportKind
Possible kinds of import or export entries.

Exceptions / Errors

CompileError
This object is thrown when an exception occurs during compilation.
LinkError
This object is thrown when an exception occurs during linking.
RuntimeError
This object is thrown when an exception occurs during runtime.