WasiPreview3CanonicalContext

Functions

Link copied to clipboard
abstract fun loadFutureValue(ptr: Int, payloadType: WitPackage.TypeRef): Any?
Link copied to clipboard
abstract fun loadListElements(ptr: Int, len: Int, payloadType: WitPackage.TypeRef): List<Any?>
Link copied to clipboard
abstract fun readMemory(ptr: Int, len: Int): ByteArray
open fun readMemory(ptr: Int, target: ByteArray, offset: Int, size: Int)
Link copied to clipboard
abstract fun storeFutureValue(ptr: Int, payloadType: WitPackage.TypeRef, value: Any?)
Link copied to clipboard
abstract fun storeListElements(ptr: Int, payloadType: WitPackage.TypeRef, values: List<Any?>)
Link copied to clipboard
abstract fun writeMemory(ptr: Int, bytes: ByteArray)
open fun writeMemory(ptr: Int, bytes: ByteArray, offset: Int, size: Int)