package
1.9.0
Repository: https://github.com/tetratelabs/wazero.git
Documentation: pkg.go.dev

# Functions

EncodeFunctionSection encodes a wasm.SectionIDFunction for the type indices associated with module-defined functions in WebAssembly 1.0 (20191205) Binary Format.
EncodeFunctionType returns the wasm.FunctionType encoded in WebAssembly 1.0 (20191205) Binary Format.
EncodeImport returns the wasm.Import encoded in WebAssembly 1.0 (20191205) Binary Format.
EncodeLimitsType returns the `limitsType` (min, max) encoded in WebAssembly 1.0 (20191205) Binary Format.
EncodeMemory returns the wasm.Memory encoded in WebAssembly 1.0 (20191205) Binary Format.
EncodeModule implements wasm.EncodeModule for the WebAssembly 1.0 (20191205) Binary Format.
EncodeNameSectionData serializes the data for the "name" key in wasm.SectionIDCustom according to the standard: Note: The result can be nil because this does not encode empty subsections See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-namesec.
EncodeStartSection encodes a wasm.SectionIDStart for the given function index in WebAssembly 1.0 (20191205) Binary Format.
EncodeTable returns the wasm.Table encoded in WebAssembly 1.0 (20191205) Binary Format.
EncodeValTypes fast paths binary encoding of common value type lengths.

# Variables

Magic is the 4 byte preamble (literally "\0asm") of the binary format See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-magic.