MemoryProvider

MemoryProvider

interface MemoryProvider

KWasm users can implement MemoryProvider to customize the instances of Memory which are provided to WebAssembly modules running in KWasm.

Methods

buildMemory

abstract fun buildMemory(requestedMinPages: Int, requestedMaxPages: Int?): Memory

Parameters

Name Description
requestedMinPages: Int
requestedMaxPages: Int?

ReturnValue

Name Description
Memory