toggle menu
Wasi-emscripten-host
common
switch theme
search in API
wasm-core
/
at.released.weh.wasm.core.memory
/
ReadOnlyMemory
Read
Only
Memory
interface
ReadOnlyMemory
(
source
)
Inheritors
Memory
Members
Members & Extensions
Functions
read
I32
Link copied to clipboard
abstract
fun
readI32
(
addr
:
WasmPtr
)
:
Int
read
I64
Link copied to clipboard
abstract
fun
readI64
(
addr
:
WasmPtr
)
:
Long
read
I8
Link copied to clipboard
abstract
fun
readI8
(
addr
:
WasmPtr
)
:
Byte
read
Nullable
Null
Terminated
String
Link copied to clipboard
fun
ReadOnlyMemory
.
readNullableNullTerminatedString
(
offset
:
WasmPtr
)
:
String
?
read
Null
Terminated
String
Link copied to clipboard
fun
ReadOnlyMemory
.
readNullTerminatedString
(
offset
:
WasmPtr
)
:
String
read
Ptr
Link copied to clipboard
fun
ReadOnlyMemory
.
readPtr
(
addr
:
WasmPtr
)
:
WasmPtr
read
U32
Link copied to clipboard
fun
ReadOnlyMemory
.
readU32
(
addr
:
WasmPtr
)
:
<Error class: unknown class>
read
U64
Link copied to clipboard
fun
ReadOnlyMemory
.
readU64
(
addr
:
WasmPtr
)
:
<Error class: unknown class>
read
U8
Link copied to clipboard
fun
ReadOnlyMemory
.
readU8
(
addr
:
WasmPtr
)
:
<Error class: unknown class>
source
Link copied to clipboard
abstract
fun
source
(
fromAddr
:
WasmPtr
,
toAddrExclusive
:
WasmPtr
)
:
RawSource
source
With
Max
Size
Link copied to clipboard
fun
ReadOnlyMemory
.
sourceWithMaxSize
(
fromAddr
:
WasmPtr
,
maxSize
:
Int
)
:
RawSource