krwa
Toggle table of contents
0.3.0-rc.9
common
Target filter
common
Switch theme
Search in API
Skip to content
krwa
component-model
/
uk.shusek.krwa.component
/
WasiPreview3CanonicalContext
Wasi
Preview3Canonical
Context
interface
WasiPreview3CanonicalContext
Members
Functions
load
Future
Value
Link copied to clipboard
abstract
fun
loadFutureValue
(
ptr
:
Int
,
payloadType
:
WitPackage.TypeRef
)
:
Any
?
load
List
Elements
Link copied to clipboard
abstract
fun
loadListElements
(
ptr
:
Int
,
len
:
Int
,
payloadType
:
WitPackage.TypeRef
)
:
List
<
Any
?
>
read
Memory
Link copied to clipboard
abstract
fun
readMemory
(
ptr
:
Int
,
len
:
Int
)
:
ByteArray
open
fun
readMemory
(
ptr
:
Int
,
target
:
ByteArray
,
offset
:
Int
,
size
:
Int
)
store
Future
Value
Link copied to clipboard
abstract
fun
storeFutureValue
(
ptr
:
Int
,
payloadType
:
WitPackage.TypeRef
,
value
:
Any
?
)
store
List
Elements
Link copied to clipboard
abstract
fun
storeListElements
(
ptr
:
Int
,
payloadType
:
WitPackage.TypeRef
,
values
:
List
<
Any
?
>
)
write
Memory
Link copied to clipboard
abstract
fun
writeMemory
(
ptr
:
Int
,
bytes
:
ByteArray
)
open
fun
writeMemory
(
ptr
:
Int
,
bytes
:
ByteArray
,
offset
:
Int
,
size
:
Int
)