Wasm Wrapper
Represents a WebAssembly (Wasm) wrapper for executing Wasm code.
Parameters
ffi Wrapper
The underlying FFI wrapper instance.
Constructors
Link copied to clipboard
Creates a new WasmWrapper instance with the given Wasm module.
constructor(ffiWrapper: <Error class: unknown class>)
Functions
Link copied to clipboard
open override fun invoke(method: String, args: ByteArray?, env: ByteArray?, invoker: Invoker): Result<ByteArray>
open override fun invoke(method: String, args: List<UByte>?, env: List<UByte>?, invoker: <Error class: unknown class>): List<UByte>
Invokes a method in the Wrapper with the specified options and invoker.