Functions

fn atomicsOpcode(op: AtomicsOpcode) u32

Returns the integer value of an AtomicsOpcode. Used by the Zig compiler to wr…

Returns the integer value of an AtomicsOpcode. Used by the Zig compiler to write instructions to the wasm binary file

fn externalKind(val: ExternalKind) u8

Returns the integer value of a given ExternalKind

fn miscOpcode(op: MiscOpcode) u32

Returns the integer value of an MiscOpcode. Used by the Zig compiler to write…

Returns the integer value of an MiscOpcode. Used by the Zig compiler to write instructions to the wasm binary file

fn opcode(op: Opcode) u8

Returns the integer value of an Opcode. Used by the Zig compiler to write ins…

Returns the integer value of an Opcode. Used by the Zig compiler to write instructions to the wasm binary file

fn reftype(value: RefType) u8

Returns the integer value of a Reftype

fn section(val: Section) u8

Returns the integer value of a given Section

fn simdOpcode(op: SimdOpcode) u32

Returns the integer value of an SimdOpcode. Used by the Zig compiler to write…

Returns the integer value of an SimdOpcode. Used by the Zig compiler to write instructions to the wasm binary file

fn valtype(value: Valtype) u8

Returns the integer value of a Valtype

Values

block_empty
u8

Represents a block which will not return a value

element_type
u8
function_type
u8
magic
[4]u8
page_size
type
result_type
u8
version
[4]u8