toggle menu
Wasi-emscripten-host
jvm
switch theme
search in API
bindings-graalvm241-wasip1
/
at.released.weh.bindings.graalvm241.memory
/
GraalvmWasmHostMemoryAdapter
Graalvm
Wasm
Host
Memory
Adapter
class
GraalvmWasmHostMemoryAdapter
(
memoryProvider
:
(
)
->
WasmMemory
,
node
:
Node
?
)
:
Memory
(
source
)
Memory
implementation based on GraalVM
WasmMemory
Members
Constructors
Graalvm
Wasm
Host
Memory
Adapter
Link copied to clipboard
constructor
(
memoryProvider
:
(
)
->
WasmMemory
,
node
:
Node
?
)
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
)