toggle menu
Wasi-emscripten-host
common
switch theme
search in API
wasm-core
/
at.released.weh.wasm.core.memory
/
Memory
Memory
interface
Memory
:
ReadOnlyMemory
(
source
)
Members
Members & Extensions
Functions
sink
Link copied to clipboard
abstract
fun
sink
(
fromAddr
:
WasmPtr
,
toAddrExclusive
:
WasmPtr
)
:
RawSink
sink
With
Max
Size
Link copied to clipboard
fun
Memory
.
sinkWithMaxSize
(
fromAddr
:
WasmPtr
,
maxSize
:
Int
)
:
RawSink
write
I32
Link copied to clipboard
abstract
fun
writeI32
(
addr
:
WasmPtr
,
data
:
Int
)
write
I64
Link copied to clipboard
abstract
fun
writeI64
(
addr
:
WasmPtr
,
data
:
Long
)
write
I8
Link copied to clipboard
abstract
fun
writeI8
(
addr
:
WasmPtr
,
data
:
Byte
)
write
Null
Terminated
String
Link copied to clipboard
fun
Memory
.
writeNullTerminatedString
(
offset
:
WasmPtr
,
value
:
String
)
:
Int
write
Ptr
Link copied to clipboard
fun
Memory
.
writePtr
(
addr
:
WasmPtr
,
data
:
WasmPtr
)
write
U32
Link copied to clipboard
fun
Memory
.
writeU32
(
addr
:
WasmPtr
,
data
:
<Error class: unknown class>
)
write
U64
Link copied to clipboard
fun
Memory
.
writeU64
(
addr
:
WasmPtr
,
data
:
<Error class: unknown class>
)
write
U8
Link copied to clipboard
fun
Memory
.
writeU8
(
addr
:
WasmPtr
,
data
:
<Error class: unknown class>
)