Categorygithub.com/taubyte/vm-wasm-utils
modulepackage
1.0.2
Repository: https://github.com/taubyte/vm-wasm-utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package platform includes runtime-specific code needed for the compiler or otherwise.
No description provided by the author

# Functions

CallGoFunc executes the FunctionInstance.GoFunc by converting params to Go types.
DecodeBlockType decodes the type index from a positive 33-bit signed integer.
ExternTypeName is an alias of api.ExternTypeName defined to simplify imports.
InstructionName returns the instruction corresponding to this binary Opcode.
MemoryPagesToBytesNum converts the given pages into the number of bytes contained in these pages.
MiscInstructionName returns the instruction corresponding to this miscellaneous Opcode.
MustParseGoFuncCode parses Code from the go function or panics.
No description provided by the author
NewGoFunc returns a HostFunc for the given parameters or panics.
NewHostModule is defined internally for use in WASI tests and to keep the code size in the root directory small.
NewMemoryInstance creates a new instance based on the parameters in the SectionIDMemory.
No description provided by the author
PagesToUnitOfBytes converts the pages to a human-readable form similar to what's specified.
PopGoFuncParams pops the correct number of parameters off the stack into a parameter slice for use in CallGoFunc For example, if the host function F requires the (x1 uint32, x2 float32) parameters, and the stack is [..., A, B], then the function is called as F(A, B) where A and B are interpreted as uint32 and float32 respectively.
PopValues pops api.ValueType values from the stack and returns them in reverse order.
No description provided by the author
SectionIDName returns the canonical name of a module section.
ValueTypeName is an alias of api.ValueTypeName defined to simplify imports.
VectorInstructionName returns the instruction name corresponding to the vector Opcode.

# Constants

ElementModeActive is the mode which requires the runtime to initialize table with the contents in .Init field combined with OffsetExpr.
ElementModeDeclarative is introduced in reference-types proposal which can be used to declare function indexes used by OpcodeRefFunc.
ElementModePassive is the mode which doesn't require the runtime to initialize table, and only used with OpcodeTableInitName.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FeatureBulkMemoryOperations decides if parsing should succeed on the following instructions: * [ OpcodeMiscPrefix, OpcodeMiscMemoryInit] * [ OpcodeMiscPrefix, OpcodeMiscDataDrop] * [ OpcodeMiscPrefix, OpcodeMiscMemoryCopy] * [ OpcodeMiscPrefix, OpcodeMiscMemoryFill] * [ OpcodeMiscPrefix, OpcodeMiscTableInit] * [ OpcodeMiscPrefix, OpcodeMiscElemDrop] * [ OpcodeMiscPrefix, OpcodeMiscTableCopy] Also, if the parsing should succeed with the presence of SectionIDDataCount.
FeatureMultiValue decides if parsing should succeed on the following: * FunctionType.Results length greater than one.
FeatureMutableGlobal decides if global vars are allowed to be imported or exported (ExternTypeGlobal) See https://github.com/WebAssembly/mutable-global.
FeatureNonTrappingFloatToIntConversion decides if parsing should succeed on the following instructions: * [ OpcodeMiscPrefix, OpcodeMiscI32TruncSatF32S] * [ OpcodeMiscPrefix, OpcodeMiscI32TruncSatF32U] * [ OpcodeMiscPrefix, OpcodeMiscI64TruncSatF32S] * [ OpcodeMiscPrefix, OpcodeMiscI64TruncSatF32U] * [ OpcodeMiscPrefix, OpcodeMiscI32TruncSatF64S] * [ OpcodeMiscPrefix, OpcodeMiscI32TruncSatF64U] * [ OpcodeMiscPrefix, OpcodeMiscI64TruncSatF64S] * [ OpcodeMiscPrefix, OpcodeMiscI64TruncSatF64U] See https://github.com/WebAssembly/spec/blob/main/proposals/nontrapping-float-to-int-conversion/Overview.md.
FeatureReferenceTypes enables various features related to reference types and tables.
Features20191205 include those finished in WebAssembly 1.0 (20191205).
Features20220419 include those finished in WebAssembly 2.0 (20220419).
FeatureSignExtensionOps decides if parsing should succeed on the following instructions: * OpcodeI32Extend8S * OpcodeI32Extend16S * OpcodeI64Extend8S * OpcodeI64Extend16S * OpcodeI64Extend32S See https://github.com/WebAssembly/spec/blob/main/proposals/sign-extension-ops/Overview.md.
FeatureSIMD enables the vector value type and vector instructions.
FunctionKindGoContext is a function implemented in Go, with a signature matching FunctionType, except arg zero is a context.Context.
FunctionKindGoContextModule is a function implemented in Go, with a signature matching FunctionType, except arg zero is a context.Context and arg one is an api.Module.
FunctionKindGoModule is a function implemented in Go, with a signature matching FunctionType, except arg zero is an api.Module.
FunctionKindGoNoContext is a function implemented in Go, with a signature matching FunctionType.
FunctionKindWasm is not a Go function: it is implemented in Wasm.
GlobalInstanceNullFuncRefValue is the temporary value for ValueTypeFuncref globals which are initialized via ref.null.
The wazero specific limitation described at RATIONALE.md.
The wazero specific limitation described at RATIONALE.md.
The wazero specific limitation described at RATIONALE.md.
MemoryLimitPages is maximum number of pages defined (2^16).
MemoryPageSize is the unit of memory length in WebAssembly, and is defined as 2^16 = 65536.
MemoryPageSizeInBits satisfies the relation: "1 << MemoryPageSizeInBits == MemoryPageSize".
OpcodeBlock brackets a sequence of instructions.
No description provided by the author
OpcodeBr is a stack-polymorphic opcode that performs an unconditional branch.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeElse brackets a sequence of instructions enclosed by an OpcodeIf.
No description provided by the author
OpcodeEnd terminates a control instruction OpcodeBlock, OpcodeLoop or OpcodeIf.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeI32Extend16S extends a signed 16-bit integer to a 32-bit integer.
No description provided by the author
OpcodeI32Extend8S extends a signed 8-bit integer to a 32-bit integer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeI64Extend16S extends a signed 16-bit integer to a 64-bit integer.
No description provided by the author
OpcodeI64Extend32S extends a signed 32-bit integer to a 64-bit integer.
No description provided by the author
OpcodeI64Extend8S extends a signed 8-bit integer to a 64-bit integer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeIf brackets a sequence of instructions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeLoop brackets a sequence of instructions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeMiscPrefix is the prefix of various multi-byte opcodes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeNop does nothing.
No description provided by the author
OpcodeRefFunc pushes a funcref value whose index equals the immediate to this opcode.
No description provided by the author
OpcodeRefIsNull pops a reference value, and pushes 1 if it is null, 0 otherwise.
No description provided by the author
OpcodeRefNull pushes a null reference value whose type is specified by immediate to this opcode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeUnreachable causes an unconditional trap.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeVecPrefix is the prefix of all vector isntructions introduced in FeatureSIMD.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OpcodeVecV128Const is the vector const instruction.
No description provided by the author
OpcodeVecV128i8x16Shuffle is the vector shuffle instruction.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RefTypeExternref represents a reference to a host object, which is not currently supported in wazero.
RefTypeFuncref represents a reference to a function.
No description provided by the author
don't add anything not in https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#sections%E2%91%A0.
No description provided by the author
SectionIDDataCount may exist in WebAssembly 2.0 or WebAssembly 1.0 with FeatureBulkMemoryOperations enabled.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: ValueTypeFuncref is not exposed in the api pkg yet.
No description provided by the author
No description provided by the author
TODO: ValueTypeV128 is not exposed in the api pkg yet.

# Variables

ErrElementOffsetOutOfBounds is the error raised when the active element offset exceeds the table length.
No description provided by the author

# Structs

CallContext is a function call context bound to a module.
Code is an entry in the Module.CodeSection containing the locals and body of the function.
No description provided by the author
No description provided by the author
ElementInstance represents an element instance in a module.
ElementSegment are initialization instructions for a TableInstance See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#syntax-elem.
Export is the binary representation of an export indicated by Type See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-export.
No description provided by the author
FunctionDefinition implements api.FunctionDefinition.
No description provided by the author
FunctionType is a possibly empty function signature.
No description provided by the author
No description provided by the author
No description provided by the author
HostFunc is a function with an inlined type, used for NewHostModule.
Import is the binary representation of an import indicated by Type See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-import.
Memory describes the limits of pages (64KB) in a memory.
MemoryInstance represents a memory instance in a store, and implements api.Memory.
Module is a WebAssembly binary representation.
No description provided by the author
No description provided by the author
No description provided by the author
NameSection represent the known custom name subsections defined in the WebAssembly Binary Format Note: This can be nil if no names were decoded for any reason including configuration.
Namespace is a collection of instantiated modules which cannot conflict on name.
No description provided by the author
Table describes the limits of elements and its type in a table.
TableInitEntry is normalized element segment used for initializing tables by engines.
TableInstance represents a table of (RefTypeFuncref) elements in a module.

# Interfaces

Engine is a Store-scoped mechanism to compile functions declared or imported by a module.
ModuleEngine implements function calls for a given module.

# Type aliases

No description provided by the author
DecodeModule parses the WebAssembly Binary Format (%.wasm) into a Module.
ElementMode represents a mode of element segment which is either active, passive or declarative.
EncodeModule encodes the given module into a byte slice depending on the format of the implementation.
ExternType is an alias of api.ExternType defined to simplify imports.
Features are the currently enabled features.
FunctionKind identifies the type of function that can be called.
No description provided by the author
Index is the offset in an index namespace, not necessarily an absolute position in a Module section.
IndirectNameMap associates an index with an association of names.
ModuleID represents sha256 hash value uniquely assigned to Module.
NameMap associates an index with any associated names.
Opcode is the binary Opcode of an instruction.
OpcodeMisc represents opcodes of the miscellaneous operations.
OpcodeVec represents an opcode of a vector instructions which has multi-byte encoding and is prefixed by OpcodeMiscPrefix.
Reference is the runtime representation of RefType which is either RefTypeFuncref or RefTypeExternref.
RefType is either RefTypeFuncref or RefTypeExternref as of WebAssembly core 2.0.
SectionID identifies the sections of a Module in the WebAssembly 1.0 (20191205) Binary Format.
ValueType is an alias of api.ValueType defined to simplify imports.