krwa
Toggle table of contents
0.3.0-rc.9
common
Target filter
common
Switch theme
Search in API
Skip to content
krwa
wasm
/
uk.shusek.krwa.wasm.types
/
ValType
/
ID
ID
object
ID
A separate holder class for ID constants.
Members
Properties
Any
Ref
Link copied to clipboard
const
val
AnyRef
:
Int
=
110
Array
Ref
Link copied to clipboard
const
val
ArrayRef
:
Int
=
106
BOT
Link copied to clipboard
const
val
BOT
:
Int
Eq
Ref
Link copied to clipboard
const
val
EqRef
:
Int
=
109
Exn
Ref
Link copied to clipboard
const
val
ExnRef
:
Int
=
105
Extern
Ref
Link copied to clipboard
const
val
ExternRef
:
Int
=
111
F32
Link copied to clipboard
const
val
F32
:
Int
=
125
F64
Link copied to clipboard
const
val
F64
:
Int
=
124
Func
Ref
Link copied to clipboard
const
val
FuncRef
:
Int
=
112
i31
Link copied to clipboard
const
val
i31
:
Int
=
108
I32
Link copied to clipboard
const
val
I32
:
Int
=
127
I64
Link copied to clipboard
const
val
I64
:
Int
=
126
No
Extern
Ref
Link copied to clipboard
const
val
NoExternRef
:
Int
=
114
No
Func
Ref
Link copied to clipboard
const
val
NoFuncRef
:
Int
=
115
None
Ref
Link copied to clipboard
const
val
NoneRef
:
Int
=
113
Ref
Link copied to clipboard
const
val
Ref
:
Int
=
100
Ref
Null
Link copied to clipboard
const
val
RefNull
:
Int
=
99
Struct
Ref
Link copied to clipboard
const
val
StructRef
:
Int
=
107
V128
Link copied to clipboard
const
val
V128
:
Int
=
123
Functions
is
Valid
Opcode
Link copied to clipboard
fun
isValidOpcode
(
opcode
:
Int
)
:
Boolean
to
Name
Link copied to clipboard
fun
toName
(
opcode
:
Int
)
:
String