web_ffi_modules library

Provides additional classes that are needed for web_ffi, but are not present in dart:ffi.

Classes

EmscriptenModule
Provides access to WebAssembly compiled with emscripten.
FunctionDescription
Describes a function exported from WebAssembly.
Global
A global is a symbol exported by the WebAssembly, that is not a function.
Memory
Represents the native heap.
Module
Base class to interact with the WebAssembly.
WasmSymbol
Describes something exported by the WebAssembly.

Enums

MemoryRegisterMode
Used on DynamicLibrary creation to control if the therby newly created Memory object should be registered as Memory.global.

Functions

registerOpaqueType<T extends Opaque>() → void
Must be called with each type that extends Opaque before attemtping to use that type.

Exceptions / Errors

MarshallingException
Occures if it's not possible to convert dart types to JavaScript types.