toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.wasm
/
DenoWASM
Deno
WASM
class
DenoWASM
(
val
io
:
DenoWasmIO
,
val
streamId
:
Int
,
val
wasmModuleBytes
:
ByteArray
)
:
Closeable
Members
Members & Extensions
Constructors
Deno
WASM
Link copied to clipboard
constructor
(
io
:
DenoWasmIO
,
streamId
:
Int
,
wasmModuleBytes
:
ByteArray
)
Properties
io
Link copied to clipboard
val
io
:
DenoWasmIO
stream
Id
Link copied to clipboard
val
streamId
:
Int
wasm
Module
Bytes
Link copied to clipboard
val
wasmModuleBytes
:
ByteArray
Functions
alloc
And
Write
Link copied to clipboard
fun
allocAndWrite
(
bytes
:
ByteArray
)
:
Int
cancellable
Link copied to clipboard
fun
Closeable
.
cancellable
(
)
:
Cancellable
close
Link copied to clipboard
open
override
fun
close
(
)
disposable
Link copied to clipboard
fun
Closeable
.
disposable
(
)
:
Disposable
execute
Function
Link copied to clipboard
fun
executeFunction
(
name
:
String
,
vararg
params
:
Any
?
)
:
Any
?
execute
Function
Indirect
Link copied to clipboard
fun
executeFunctionIndirect
(
address
:
Int
,
vararg
params
:
Any
?
)
:
Any
?
free
Link copied to clipboard
fun
free
(
vararg
ptrs
:
Int
)
read
Bytes
Link copied to clipboard
fun
readBytes
(
ptr
:
Int
,
len
:
Int
)
:
ByteArray
stack
Alloc
Link copied to clipboard
fun
stackAlloc
(
size
:
Int
)
:
Int
stack
Alloc
And
Write
Link copied to clipboard
fun
stackAllocAndWrite
(
bytes
:
ByteArray
)
:
Int
stack
Restore
Link copied to clipboard
fun
stackRestore
(
ptr
:
Int
)
stack
Save
Link copied to clipboard
fun
stackSave
(
)
:
Int
to
Disposable
Link copied to clipboard
fun
Closeable
.
toDisposable
(
)
:
Disposable
write
Bytes
Link copied to clipboard
fun
writeBytes
(
ptr
:
Int
,
bytes
:
ByteArray
)