DenoWASM

class DenoWASM(val io: DenoWasmIO, val streamId: Int, val wasmModuleBytes: ByteArray) : Closeable

Constructors

Link copied to clipboard
constructor(io: DenoWasmIO, streamId: Int, wasmModuleBytes: ByteArray)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
fun executeFunction(name: String, vararg params: Any?): Any?
Link copied to clipboard
fun executeFunctionIndirect(address: Int, vararg params: Any?): Any?
Link copied to clipboard
fun free(vararg ptrs: Int)
Link copied to clipboard
fun readBytes(ptr: Int, len: Int): ByteArray
Link copied to clipboard
fun stackAlloc(size: Int): Int
Link copied to clipboard
Link copied to clipboard
fun stackRestore(ptr: Int)
Link copied to clipboard
fun stackSave(): Int
Link copied to clipboard
Link copied to clipboard
fun writeBytes(ptr: Int, bytes: ByteArray)