toggle menu
Wasi-emscripten-host
jvm
switch theme
search in API
bindings-chicory-wasip1
/
at.released.weh.bindings.chicory.memory
/
ChicoryMemoryAdapter
Chicory
Memory
Adapter
class
ChicoryMemoryAdapter
(
wasmMemory
:
Memory
)
:
Memory
(
source
)
Members
Constructors
Chicory
Memory
Adapter
Link copied to clipboard
constructor
(
wasmMemory
:
Memory
)
Functions
read
I32
Link copied to clipboard
open
override
fun
readI32
(
addr
:
WasmPtr
)
:
Int
read
I64
Link copied to clipboard
open
override
fun
readI64
(
addr
:
WasmPtr
)
:
Long
read
I8
Link copied to clipboard
open
override
fun
readI8
(
addr
:
WasmPtr
)
:
Byte
sink
Link copied to clipboard
open
override
fun
sink
(
fromAddr
:
WasmPtr
,
toAddrExclusive
:
WasmPtr
)
:
RawSink
source
Link copied to clipboard
open
override
fun
source
(
fromAddr
:
WasmPtr
,
toAddrExclusive
:
WasmPtr
)
:
RawSource
write
I32
Link copied to clipboard
open
override
fun
writeI32
(
addr
:
WasmPtr
,
data
:
Int
)
write
I64
Link copied to clipboard
open
override
fun
writeI64
(
addr
:
WasmPtr
,
data
:
Long
)
write
I8
Link copied to clipboard
open
override
fun
writeI8
(
addr
:
WasmPtr
,
data
:
Byte
)