This is the wasm-encoder Reference Manual, version 0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 08:05:00 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
wasm-encoder
Library for serializing WebAssembly modules to binary .wasm files
Alexander Gutev <alex.gutev@mail.bg>
MIT
0.2
generic-cl
(system).
agutil
(system).
alexandria
(system).
trivia
(system).
ieee-floats
(system).
babel
(system).
flexi-streams
(system).
src
(module).
Modules are listed depth-first from the system components tree.
wasm-encoder/src
wasm-encoder
(system).
package.lisp
(file).
wasm-encoder.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
wasm-encoder/src/wasm-encoder.lisp
package.lisp
(file).
src
(module).
make-wasm-data
(function).
make-wasm-element
(function).
make-wasm-element-init-expressions
(function).
make-wasm-element-init-index
(function).
make-wasm-export
(function).
make-wasm-function
(function).
make-wasm-function-type
(function).
make-wasm-global
(function).
make-wasm-import
(function).
make-wasm-limit
(function).
make-wasm-module
(function).
make-wasm-table
(function).
serialize-module
(function).
wasm-data
(structure).
wasm-data-bytes
(reader).
(setf wasm-data-bytes)
(writer).
wasm-data-memory
(reader).
(setf wasm-data-memory)
(writer).
wasm-data-mode
(reader).
(setf wasm-data-mode)
(writer).
wasm-data-offset
(reader).
(setf wasm-data-offset)
(writer).
wasm-data-p
(function).
wasm-element
(structure).
wasm-element-index
(reader).
(setf wasm-element-index)
(writer).
wasm-element-init
(reader).
(setf wasm-element-init)
(writer).
wasm-element-init-expressions
(structure).
wasm-element-init-expressions-expressions
(reader).
(setf wasm-element-init-expressions-expressions)
(writer).
wasm-element-init-expressions-p
(function).
wasm-element-init-index
(structure).
wasm-element-init-index-functions
(reader).
(setf wasm-element-init-index-functions)
(writer).
wasm-element-init-index-p
(function).
wasm-element-mode
(reader).
(setf wasm-element-mode)
(writer).
wasm-element-offset
(reader).
(setf wasm-element-offset)
(writer).
wasm-element-p
(function).
wasm-export
(structure).
wasm-export-index
(reader).
(setf wasm-export-index)
(writer).
wasm-export-name
(reader).
(setf wasm-export-name)
(writer).
wasm-export-p
(function).
wasm-export-type
(reader).
(setf wasm-export-type)
(writer).
wasm-function
(structure).
wasm-function-code
(reader).
(setf wasm-function-code)
(writer).
wasm-function-locals
(reader).
(setf wasm-function-locals)
(writer).
wasm-function-p
(function).
wasm-function-type
(reader).
(setf wasm-function-type)
(writer).
wasm-function-type
(structure).
wasm-function-type-p
(function).
wasm-function-type-params
(reader).
(setf wasm-function-type-params)
(writer).
wasm-function-type-results
(reader).
(setf wasm-function-type-results)
(writer).
wasm-global
(structure).
wasm-global-init
(reader).
(setf wasm-global-init)
(writer).
wasm-global-mutable-p
(reader).
(setf wasm-global-mutable-p)
(writer).
wasm-global-p
(function).
wasm-global-type
(reader).
(setf wasm-global-type)
(writer).
wasm-import
(structure).
wasm-import-desc
(reader).
(setf wasm-import-desc)
(writer).
wasm-import-module
(reader).
(setf wasm-import-module)
(writer).
wasm-import-name
(reader).
(setf wasm-import-name)
(writer).
wasm-import-p
(function).
wasm-import-type
(reader).
(setf wasm-import-type)
(writer).
wasm-limit
(structure).
wasm-limit-max
(reader).
(setf wasm-limit-max)
(writer).
wasm-limit-min
(reader).
(setf wasm-limit-min)
(writer).
wasm-limit-p
(function).
wasm-module
(structure).
wasm-module-data
(reader).
(setf wasm-module-data)
(writer).
wasm-module-data-count
(reader).
(setf wasm-module-data-count)
(writer).
wasm-module-elements
(reader).
(setf wasm-module-elements)
(writer).
wasm-module-exports
(reader).
(setf wasm-module-exports)
(writer).
wasm-module-functions
(reader).
(setf wasm-module-functions)
(writer).
wasm-module-globals
(reader).
(setf wasm-module-globals)
(writer).
wasm-module-imports
(reader).
(setf wasm-module-imports)
(writer).
wasm-module-memory
(reader).
(setf wasm-module-memory)
(writer).
wasm-module-p
(function).
wasm-module-start
(reader).
(setf wasm-module-start)
(writer).
wasm-module-types
(reader).
(setf wasm-module-types)
(writer).
wasm-table
(structure).
wasm-table-max
(function).
(setf wasm-table-max)
(function).
wasm-table-min
(function).
(setf wasm-table-min)
(function).
wasm-table-p
(function).
wasm-table-type
(reader).
(setf wasm-table-type)
(writer).
+code-section-id+
(constant).
+custom-section-id+
(constant).
+data-count-section-id+
(constant).
+data-section-id+
(constant).
+element-section-id+
(constant).
+export-section-id+
(constant).
+function-section-id+
(constant).
+global-section-id+
(constant).
+import-section-id+
(constant).
+memory-section-id+
(constant).
+op-codes+
(constant).
+start-section-id+
(constant).
+table-section-id+
(constant).
+type-section-id+
(constant).
copy-wasm-data
(function).
copy-wasm-element
(function).
copy-wasm-element-init-expressions
(function).
copy-wasm-element-init-index
(function).
copy-wasm-export
(function).
copy-wasm-function
(function).
copy-wasm-function-type
(function).
copy-wasm-global
(function).
copy-wasm-import
(function).
copy-wasm-limit
(function).
copy-wasm-module
(function).
copy-wasm-table
(function).
data-segment-type-code
(function).
i32
(type).
i64
(type).
intern-symbol
(function).
intern-symbols
(function).
serialize-32-bit
(function).
serialize-64-bit
(function).
serialize-block
(function).
serialize-branch
(function).
serialize-data
(function).
serialize-data-count-section
(function).
serialize-data-section
(function).
serialize-double-float
(function).
serialize-export
(function).
serialize-export-section
(function).
serialize-expression
(function).
serialize-float
(function).
serialize-ftype
(function).
serialize-function
(function).
serialize-function-types
(function).
serialize-functions
(function).
serialize-global
(function).
serialize-global-section
(function).
serialize-i32
(function).
serialize-import
(function).
serialize-imports
(function).
serialize-instruction
(function).
serialize-instruction-operands
(generic function).
serialize-instructions
(function).
serialize-limit
(function).
serialize-memory
(function).
serialize-memory-instruction
(function).
serialize-memory-types
(function).
serialize-nil-type
(function).
serialize-ref-type
(function).
serialize-section
(function).
serialize-signed
(function).
serialize-start-section
(function).
serialize-string
(function).
serialize-table
(function).
serialize-table-element
(function).
serialize-table-element-init
(function).
serialize-table-elements
(function).
serialize-table-instruction
(method).
serialize-table-types
(function).
serialize-type
(function).
serialize-types
(function).
serialize-u32
(function).
serialize-unsigned
(function).
serialize-variable-instruction
(method).
serialize-vector
(function).
serialize-with-byte-size
(function).
table-element-type-code
(function).
u32
(type).
u64
(type).
wasm-element-init-expressions-type
(reader).
(setf wasm-element-init-expressions-type)
(writer).
wasm-module-tables
(reader).
(setf wasm-module-tables)
(writer).
Packages are listed by definition order.
wasm-encoder
agutil
.
alexandria
.
babel
.
babel-encodings
.
generic-cl
.
ieee-floats
.
trivia.level2
.
make-wasm-data
(function).
make-wasm-element
(function).
make-wasm-element-init-expressions
(function).
make-wasm-element-init-index
(function).
make-wasm-export
(function).
make-wasm-function
(function).
make-wasm-function-type
(function).
make-wasm-global
(function).
make-wasm-import
(function).
make-wasm-limit
(function).
make-wasm-module
(function).
make-wasm-table
(function).
serialize-module
(function).
wasm-data
(structure).
wasm-data-bytes
(reader).
(setf wasm-data-bytes)
(writer).
wasm-data-memory
(reader).
(setf wasm-data-memory)
(writer).
wasm-data-mode
(reader).
(setf wasm-data-mode)
(writer).
wasm-data-offset
(reader).
(setf wasm-data-offset)
(writer).
wasm-data-p
(function).
wasm-element
(structure).
wasm-element-index
(reader).
(setf wasm-element-index)
(writer).
wasm-element-init
(reader).
(setf wasm-element-init)
(writer).
wasm-element-init-expressions
(structure).
wasm-element-init-expressions-expressions
(reader).
(setf wasm-element-init-expressions-expressions)
(writer).
wasm-element-init-expressions-p
(function).
wasm-element-init-index
(structure).
wasm-element-init-index-functions
(reader).
(setf wasm-element-init-index-functions)
(writer).
wasm-element-init-index-p
(function).
wasm-element-mode
(reader).
(setf wasm-element-mode)
(writer).
wasm-element-offset
(reader).
(setf wasm-element-offset)
(writer).
wasm-element-p
(function).
wasm-export
(structure).
wasm-export-index
(reader).
(setf wasm-export-index)
(writer).
wasm-export-name
(reader).
(setf wasm-export-name)
(writer).
wasm-export-p
(function).
wasm-export-type
(reader).
(setf wasm-export-type)
(writer).
wasm-function
(structure).
wasm-function-code
(reader).
(setf wasm-function-code)
(writer).
wasm-function-locals
(reader).
(setf wasm-function-locals)
(writer).
wasm-function-p
(function).
wasm-function-type
(reader).
(setf wasm-function-type)
(writer).
wasm-function-type
(structure).
wasm-function-type-p
(function).
wasm-function-type-params
(reader).
(setf wasm-function-type-params)
(writer).
wasm-function-type-results
(reader).
(setf wasm-function-type-results)
(writer).
wasm-global
(structure).
wasm-global-init
(reader).
(setf wasm-global-init)
(writer).
wasm-global-mutable-p
(reader).
(setf wasm-global-mutable-p)
(writer).
wasm-global-p
(function).
wasm-global-type
(reader).
(setf wasm-global-type)
(writer).
wasm-import
(structure).
wasm-import-desc
(reader).
(setf wasm-import-desc)
(writer).
wasm-import-module
(reader).
(setf wasm-import-module)
(writer).
wasm-import-name
(reader).
(setf wasm-import-name)
(writer).
wasm-import-p
(function).
wasm-import-type
(reader).
(setf wasm-import-type)
(writer).
wasm-limit
(structure).
wasm-limit-max
(reader).
(setf wasm-limit-max)
(writer).
wasm-limit-min
(reader).
(setf wasm-limit-min)
(writer).
wasm-limit-p
(function).
wasm-module
(structure).
wasm-module-data
(reader).
(setf wasm-module-data)
(writer).
wasm-module-data-count
(reader).
(setf wasm-module-data-count)
(writer).
wasm-module-elements
(reader).
(setf wasm-module-elements)
(writer).
wasm-module-exports
(reader).
(setf wasm-module-exports)
(writer).
wasm-module-functions
(reader).
(setf wasm-module-functions)
(writer).
wasm-module-globals
(reader).
(setf wasm-module-globals)
(writer).
wasm-module-imports
(reader).
(setf wasm-module-imports)
(writer).
wasm-module-memory
(reader).
(setf wasm-module-memory)
(writer).
wasm-module-p
(function).
wasm-module-start
(reader).
(setf wasm-module-start)
(writer).
wasm-module-types
(reader).
(setf wasm-module-types)
(writer).
wasm-table
(structure).
wasm-table-max
(function).
(setf wasm-table-max)
(function).
wasm-table-min
(function).
(setf wasm-table-min)
(function).
wasm-table-p
(function).
wasm-table-type
(reader).
(setf wasm-table-type)
(writer).
+code-section-id+
(constant).
+custom-section-id+
(constant).
+data-count-section-id+
(constant).
+data-section-id+
(constant).
+element-section-id+
(constant).
+export-section-id+
(constant).
+function-section-id+
(constant).
+global-section-id+
(constant).
+import-section-id+
(constant).
+memory-section-id+
(constant).
+op-codes+
(constant).
+start-section-id+
(constant).
+table-section-id+
(constant).
+type-section-id+
(constant).
copy-wasm-data
(function).
copy-wasm-element
(function).
copy-wasm-element-init-expressions
(function).
copy-wasm-element-init-index
(function).
copy-wasm-export
(function).
copy-wasm-function
(function).
copy-wasm-function-type
(function).
copy-wasm-global
(function).
copy-wasm-import
(function).
copy-wasm-limit
(function).
copy-wasm-module
(function).
copy-wasm-table
(function).
data-segment-type-code
(function).
i32
(type).
i64
(type).
intern-symbol
(function).
intern-symbols
(function).
serialize-32-bit
(function).
serialize-64-bit
(function).
serialize-block
(function).
serialize-branch
(function).
serialize-data
(function).
serialize-data-count-section
(function).
serialize-data-section
(function).
serialize-double-float
(function).
serialize-export
(function).
serialize-export-section
(function).
serialize-expression
(function).
serialize-float
(function).
serialize-ftype
(function).
serialize-function
(function).
serialize-function-types
(function).
serialize-functions
(function).
serialize-global
(function).
serialize-global-section
(function).
serialize-i32
(function).
serialize-import
(function).
serialize-imports
(function).
serialize-instruction
(function).
serialize-instruction-operands
(compiler macro).
serialize-instruction-operands
(generic function).
serialize-instructions
(function).
serialize-limit
(function).
serialize-memory
(function).
serialize-memory-instruction
(function).
serialize-memory-types
(function).
serialize-nil-type
(function).
serialize-ref-type
(function).
serialize-section
(function).
serialize-signed
(function).
serialize-start-section
(function).
serialize-string
(function).
serialize-table
(function).
serialize-table-element
(function).
serialize-table-element-init
(function).
serialize-table-elements
(function).
serialize-table-instruction
(generic function).
serialize-table-types
(function).
serialize-type
(function).
serialize-types
(function).
serialize-u32
(function).
serialize-unsigned
(function).
serialize-variable-instruction
(generic function).
serialize-vector
(function).
serialize-with-byte-size
(function).
table-element-type-code
(function).
u32
(type).
u64
(type).
wasm-element-init-expressions-type
(reader).
(setf wasm-element-init-expressions-type)
(writer).
wasm-module-tables
(reader).
(setf wasm-module-tables)
(writer).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Serialize a WebAssembly module to an output stream.
MODULE is a ‘WASM-MODULE’ object.
STREAM is the output stream, which must be a binary stream with element type (unsigned-byte 8).
mode
.
init
.
mode
.
name
.
type
.
code
.
type
.
init
.
type
.
desc
.
name
.
type
.
max
.
min
.
data
.
type
.
Represents a data segment.
Data segments specify the initial values of memory objects.
MODE is a keyword specifying the data segment mode:
:ACTIVE - An active element initialized on module loading (the default)
:PASSIVE - A passive element which can be used with MEMORY.INIT
MEMORY is the index of the memory object to initialize. This field
is only used when MODE is :ACTIVE. By default this is 0, which is
the only valid index in the current version of WebAssembly.
OFFSET is an expression (list of instructions) which compute the
starting index of the range to initialize. This field is only used
when MODE is :ACTIVE.
BYTES is the byte array containing the values to which the bytes, starting at OFFSET (in the case of an active data segment), are initialized.
Represents an element segment.
Element segments specify the initial values of table elements.
MODE is a keyword specifying the element segment mode:
:ACTIVE - An active element initialized on instantiation (the default)
:PASSIVE - A passive element which can be used with TABLE.INIT
:DECLARATIVE - A forward declaration of table contents.
INDEX is the index of the table to initialize. This slot is only
used when MODE is :ACTIVE. By default this is 0, which is the only
valid index in the current version of WebAssembly.
OFFSET is an expression (list of instructions) which compute the
starting index of the range to initialize. This field is only used
when MODE is :ACTIVE.
INIT is an object specifying the initial values of the table
elements, which can be of the following can be either a
‘WASM-ELEMENT-INIT-INDEX’ or ‘WASM-ELEMENT-INIT-EXPRESSIONS’
object.
Represents a table element segment initialization with expressions.
TYPE is the table element type, either FUNCREF (default) or
EXTERNREF. In the current version of WebAssembly only FUNCREF is
supported.
EXPRESSIONS is a list of expressions, where each expression is a list of instructions, which compute the initial values of the table elements, starting from the index OFFSET (of the WASM-ELEMENT object).
Represents a table element segment initialization with function indices.
FUNCTIONS is a list of function indices to which the table elements
are initialized, starting from the index OFFSET (of the WASM-ELEMENT object).
structure-object
.
Represents an exported entity.
NAME is the name at which the entity is exported.
TYPE is a keyword specifying the kind of entity that is exported:
:FUNC - function
:TABLE - table object
:MEMORY - memory object
:GLOBAL - global variable
INDEX is the index of the exported entity within the module section in which it is contained.
Represents a WebAssembly function.
TYPE is the index of the functions type signature, within the type
section.
LOCALS is the list of the value types of the functions local
variables.
CODE is the list of instructions comprising the function.
Represents a function type signature.
PARAMS is a list of the argument types.
RESULTS is a list of the return value types.
Represents a global variable.
TYPE is the value type of the variable.
MUTABLE-P is a flag, which if true indicates the variable is
mutable.
INIT is an optional expression (a list of instructions) which compute the variables initial value. If NIL the variable has no initial value.
Represents an imported entity.
The two-level import name is given by MODULE and NAME.
TYPE is a keyword specifying the kind of entity that is imported:
:FUNC - function
:TABLE - table object
:MEMORY - memory object
:GLOBAL - global variable
DESC is a description of the imported entity, which depends on TYPE:
:FUNC - Index of the function’s type signature within the
module’s type section.
:TABLE - A ‘WASM-TABLE’ object specifying the table type and
limits.
:MEMORY - A ‘WASM-LIMIT’ object specifying the memory limits.
:GLOBAL - A list of the form (TYPE MUTABLE-P) where TYPE is the value type of the variable and MUTABLE-P is a flag for whether the variable is mutable.
Represents a limit of memory or table object.
MIN is the lower bound, which must be greater than or equal to 0.
MAX is the upper bound. If NIL the limit has no upper bound.
Represents a WebAssembly module that can be serialized to the binary wasm format.
Each slot contains a list of the entities comprising a particular
section of the module. The entities are serialized in the order
given in the list.
TYPES is a list of ‘WASM-FUNCTION-TYPE’ objects representing the
function type signatures of the module’s functions.
IMPORTS is a list of ‘WASM-IMPORT’ objects representing the
module’s imports.
FUNCTIONS is a list of ‘WASM-FUNCTION’ objects representing the
module’s functions, including both the signatures and code.
TABLES is a list of ‘WASM-TABLE’ objects specifying the limits, and
types, of the module’s tables. In the current version of
WebAssembly, a module may have at most one table of type FUNCREF,
however this library supports multiple tables of both type FUNCREF
and EXTERNREF.
MEMORY is a list of ‘WASM-LIMIT’ objects specifying the limits of
the module’s memory objects. Currently a module may have at most
one memory object, however this library supports multiple memory
objects.
GLOBALS is a list of ‘WASM-GLOBAL’ objects representing the
module’s global variables.
EXPORTS is a list ‘WASM-EXPORT’ objects representing the module’s
exports.
START is the index of the function serving as the module’s entry
point. If NIL the module does not have an entry point.
ELEMENTS is a list of ‘WASM-ELEMET’ objects representing the
module’s element segments, for initializing the module’s tables.
DATA is a list of ‘WASM-DATA’ objects representing the module’s
data segments for initializing the module’s memory.
DATA-COUNT is a flag, which if true, a data count section is
emitted, prior to the code section, storing the number of data
segments.
structure-object
.
generic-cl.iterator
.
t
Represents a table object type.
TYPE is the type of element stored in the table, either FUNCREF or EXTERNREF.
common-lisp
.
(quote wasm-encoder::funcref)
Function body section identifier.
Custom section identifier.
Data count section identifier.
Data section identifier.
Element section identifier.
Export section identifier.
Identifier of the section containing the types of the functions, in the module.
Global variable section identifier.
Import section identifier.
Memory section identifier.
WebAssembly Instruction Opcode Map.
Module entry point section identifier.
Table section identifier.
Function type signature section identifier.
A no-op on SBCL since static dispatching is handled by the compiler transforms, rather than compiler macros.
static-dispatch
.
Determine the type code of a data segment.
Intern the symbol SYM in the package WASM-ENCODER.
If SYMS is a symbol intern it into WASM-ENCODER. If SYMS is a list, apply INTERN-SYMBOLS on each of element otherwise return SYMS as is.
Serialize an integer value to 4 bytes in little endian order.
Serialize an integer value to 8 bytes in little endian order.
Serialize a structured block instruction containing the instructions in BODY.
Serialize the branch index of a branch instruction.
Serialize a data segment.
Serialize the data count section.
COUNT is the number of data segments.
STREAM is the output stream.
Serialize the data section (containing the initialization of the
module’s memory), with the memory initialization
entries (represented by WASM-DATA objects) in DATA.
Serialize a DOUBLE-FLOAT to IEEE 64-bit floating point representation.
Serialize a single export entry, represented as a WASM-EXPORT object.
Serialize the export section consisting of the entries, represented by WASM-EXPORT objects, in EXPORTS.
Serialize a list of instructions (an expression) followed by the block end instruction.
Serialize a single FLOAT to IEEE 32-bit floating point representation.
Serialize a function type signature, represented by a WASM-FUNCTION-TYPE object.
Serialize the a single function, represented by a WASM-FUNCTION object. Only the local variable types and instructions of the function are serialized.
Serialize the function type section (containing the indices of the type signatures of the functions defined in the module), consisting of the function type indices in TYPES.
Serialize the code section (containing the actual instructions comprising the functions in the module), consisting of the functions, represented by WASM-FUNCTION objects, in FUNCTIONS.
Serialize a global variable with value type TYPE. If MUTABLE? is true a mutable global variable is serialized.
Serialize the global variable section, consisting of the global variables, represented by WASM-GLOBAL objects, in GLOBALS.
Serialize a single import entry IMPORT, represented by a WASM-IMPORT object.
Serialize the import section, consisting of the import entries, represented by WASM-IMPORT objects, in IMPORTS.
Serialize a WebAssembly instruction to STREAM. The instruction may either be a symbol, naming the instruction, or a list in which the first element is the symbol naming the instruction and the remaining elements are the instruction operands.
Serialize the instructions, in INSTRUCTIONS, to STREAM.
Serialize a memory/table limit represented by a WASM-LIMIT object.
Serialize a memory object entry with limit, represented by a WASM-LIMIT object, given by LIMIT.
Serialize the offset and alignment operands of a memory load/store instruction.
Serialize the memory section, consisting of a memory object for each limit, represented as a WASM-LIMIT, given in MEMORY.
Serialize a WebAssembly function reference type.
Serialize a section, with identifier ID, to STREAM.
FN is called with a single argument – the stream to which the contents of the section should be written. The section id and the number of bytes are then written to STREAM followed by the bytes written by FN.
Serialize a signed integer to LEB128 format
Serialize a string to a UTF-8 encoded string without BOM.
Serialize a table object entry with limit, represented by a WASM-LIMIT object, given by LIMIT.
Serialize a single table element initialization entry, represented by a WASM-ELEMENT object.
Serialize a table element initializer.
MODE is the table element mode.
INDEX is the table index.
INIT is the table element initializer.
STREAM is the output stream
Serialize the table element section, consisting of the table element initializations, represented by WASM-ELEMNT objects, in ELEMENTS.
Serialize the table section, consisting of a table for each table limit, represented as a WASM-TABLE, given in TABLES.
Serialize a WebAssembly value type.
Serialize the function type section consisting of the function type signatures, represented by WASM-FUNCTION-TYPE objects, in TYPES.
Serialize an unsigned integer to LEB128 format
Serialize a vector of values.
The length VECTOR is written to STREAM first, after which FN is called on each element of the vector. FN should write each element it is called on to the stream passed to it in the second argument
Serialize a sequence of bytes to STREAM, preceded by the number of bytes.
FN is called with a single argument – the stream to which the contents of the section should be written. The number of bytes is then written to STREAM followed by the bytes written by FN.
Return the type code for a table element.
ELEMENT is the table element.
Returns the type code as a byte.
type
.
Serialize the operands (OPERANDS) of the instruction OP.
(eql wasm-encoder::ref.func)
) operands stream) ¶(eql wasm-encoder::ref.null)
) operands stream) ¶(eql wasm-encoder::f64.const)
) operands stream) ¶(eql wasm-encoder::f32.const)
) operands stream) ¶(eql wasm-encoder::i64.const)
) operands stream) ¶(eql wasm-encoder::i32.const)
) operands stream) ¶(eql wasm-encoder::data.drop)
) operands stream) ¶(eql wasm-encoder::memory.init)
) operands stream) ¶(eql wasm-encoder::memory.fill)
) operands stream) ¶(eql wasm-encoder::memory.copy)
) operands stream) ¶(eql wasm-encoder::memory.grow)
) operands stream) ¶(eql wasm-encoder::memory.size)
) operands stream) ¶(eql wasm-encoder::i64.store32)
) operands stream) ¶(eql wasm-encoder::i64.store16)
) operands stream) ¶(eql wasm-encoder::i64.store8)
) operands stream) ¶(eql wasm-encoder::i32.store16)
) operands stream) ¶(eql wasm-encoder::i32.store8)
) operands stream) ¶(eql wasm-encoder::f64.store)
) operands stream) ¶(eql wasm-encoder::f32.store)
) operands stream) ¶(eql wasm-encoder::i64.store)
) operands stream) ¶(eql wasm-encoder::i32.store)
) operands stream) ¶(eql wasm-encoder::i64.load32_u)
) operands stream) ¶(eql wasm-encoder::i64.load32_s)
) operands stream) ¶(eql wasm-encoder::i64.load16_u)
) operands stream) ¶(eql wasm-encoder::i64.load16_s)
) operands stream) ¶(eql wasm-encoder::i64.load8_u)
) operands stream) ¶(eql wasm-encoder::i64.load8_s)
) operands stream) ¶(eql wasm-encoder::i32.load16_u)
) operands stream) ¶(eql wasm-encoder::i32.load16_s)
) operands stream) ¶(eql wasm-encoder::i32.load8_u)
) operands stream) ¶(eql wasm-encoder::i32.load8_s)
) operands stream) ¶(eql wasm-encoder::f64.load)
) operands stream) ¶(eql wasm-encoder::f32.load)
) operands stream) ¶(eql wasm-encoder::i64.load)
) operands stream) ¶(eql wasm-encoder::i32.load)
) operands stream) ¶(eql wasm-encoder::table.fill)
) operands stream) ¶(eql wasm-encoder::table.size)
) operands stream) ¶(eql wasm-encoder::table.grow)
) operands stream) ¶(eql wasm-encoder::elem.drop)
) operands stream) ¶(eql wasm-encoder::table.copy)
) operands stream) ¶(eql wasm-encoder::table.init)
) operands stream) ¶(eql wasm-encoder::table.set)
) operands stream) ¶(eql wasm-encoder::table.get)
) operands stream) ¶(eql wasm-encoder::global.set)
) operands stream) ¶(eql wasm-encoder::global.get)
) operands stream) ¶(eql wasm-encoder::local.tee)
) operands stream) ¶(eql wasm-encoder::local.set)
) operands stream) ¶(eql wasm-encoder::local.get)
) operands stream) ¶(eql wasm-encoder::call_indirect)
) operands stream) ¶Serialize the type signature of a call indirect instruction.
(eql wasm-encoder::br_table)
) operands stream) ¶Serialize the branches indices of a branch table instruction.
(eql wasm-encoder::call)
) operands stream) ¶(eql wasm-encoder::br_if)
) operands stream) ¶(eql wasm-encoder::br)
) operands stream) ¶(eql if)
) body stream) ¶Serialize the body of an IF structured instruction.
(eql wasm-encoder::select)
) operands stream) ¶Serialize the value types of the a select t* instruction
(eql loop)
) body stream) ¶(eql block)
) body stream) ¶Default Method, does nothing.
Serialize the table index of a table instruction.
Serialize the local variable index of a local variable instruction.
Jump to: | (
C D F G I M S T W |
---|
Jump to: | (
C D F G I M S T W |
---|
Jump to: | +
B C D E F G I L M N O P R S T |
---|
Jump to: | +
B C D E F G I L M N O P R S T |
---|
Jump to: | F I M P S T U W |
---|
Jump to: | F I M P S T U W |
---|