toggle menu
korge-root
5.1.0
darwin
switch theme
search in API
korge-core
/
korlibs.wasm
/
WASMRunner
WASMRunner
darwin
class
WASMRunner
Members
Constructors
WASMRunner
Link copied to clipboard
darwin
constructor
(
)
Properties
js
Link copied to clipboard
darwin
val
js
:
JSContext
Functions
close
Link copied to clipboard
darwin
fun
close
(
)
create
Uint8Array
Link copied to clipboard
darwin
fun
JSContext
.
createUint8Array
(
bytes
:
ByteArray
)
:
JSValue
evaluate
Script
Link copied to clipboard
darwin
fun
evaluateScript
(
script
:
String
)
:
JSValue
invoke
Function
Link copied to clipboard
darwin
fun
invokeFunction
(
name
:
String
,
vararg
values
:
Any
?
)
:
JSValue
?
load
Wasm
Module
Link copied to clipboard
darwin
fun
loadWasmModule
(
wasmBytes
:
ByteArray
)
read
Bytes
Link copied to clipboard
darwin
fun
readBytes
(
ptr
:
Int
,
len
:
Int
)
:
ByteArray
to
Byte
Array
Link copied to clipboard
darwin
fun
JSValue
.
toByteArray
(
)
:
ByteArray
write
Bytes
Link copied to clipboard
darwin
fun
writeBytes
(
ptr
:
Int
,
bytes
:
ByteArray
)