web_ffi/modules/memory library

Classes

Memory
Represents the native heap.

Enums

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

Properties

sizeMap Map<Type, int>
final

Functions

createMemory(Module module) Memory
registerOpaqueType<T extends Opaque>() → void
Must be called with each type that extends Opaque before attemtping to use that type.
symbolByAddress(Memory m, int address) WasmSymbol
symbolByName(Memory m, String name) WasmSymbol