GraalvmWasmHostMemoryAdapter

class GraalvmWasmHostMemoryAdapter(memoryProvider: () -> WasmMemory, node: Node?) : Memory(source)

Memory implementation based on GraalVM WasmMemory

Constructors

Link copied to clipboard
constructor(memoryProvider: () -> WasmMemory, node: Node?)

Functions

Link copied to clipboard
open override fun readI32(addr: WasmPtr): Int
Link copied to clipboard
open override fun readI64(addr: WasmPtr): Long
Link copied to clipboard
open override fun readI8(addr: WasmPtr): Byte
Link copied to clipboard
open override fun sink(fromAddr: WasmPtr, toAddrExclusive: WasmPtr): RawSink
Link copied to clipboard
open override fun source(fromAddr: WasmPtr, toAddrExclusive: WasmPtr): RawSource
Link copied to clipboard
open override fun writeI32(addr: WasmPtr, data: Int)
Link copied to clipboard
open override fun writeI64(addr: WasmPtr, data: Long)
Link copied to clipboard
open override fun writeI8(addr: WasmPtr, data: Byte)