Module class abstract

Base class to interact with the WebAssembly.

Currently, only emscripten compiled WebAssembly is supported, so the only concrete implementation if this class is EmscriptenModule.

To support additional mechanisms/frameworks/compilers, create a subclass of Module.

Implementers
Annotations

Constructors

Module()

Properties

exports List<WasmSymbol>
A list containing everything exported by the underlying WebAssembly instance.
no setter
hashCode int
The hash code for this object.
no setterinherited
heap ByteBuffer
Provides access to the WebAssemblys memory buffer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

free(int pointer) → void
Provides access to the free function in WebAssembly.
malloc(int size) int
Provides access to the malloc function in WebAssembly.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited