package
0.2.14
Repository: https://github.com/taubyte/go-interfaces.git
Documentation: pkg.go.dev

# Functions

DecodeExternref decodes the input as a ValueTypeExternref.
DecodeF32 decodes the input as a ValueTypeF32.
DecodeF64 decodes the input as a ValueTypeF64.
EncodeExternref encodes the input as a ValueTypeExternref.
EncodeF32 encodes the input as a ValueTypeF32.
EncodeF64 encodes the input as a ValueTypeF64.
EncodeI32 encodes the input as a ValueTypeI32.
EncodeI64 encodes the input as a ValueTypeI64.
ExternTypeName returns the name of the WebAssembly 1.0 (20191205) Text Format field of the given type.
ValueTypeName returns the type name of the given ValueType as a string.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
ExternTypeFuncName is the name of the WebAssembly 1.0 (20191205) Text Format field for ExternTypeFunc.
No description provided by the author
ExternTypeGlobalName is the name of the WebAssembly 1.0 (20191205) Text Format field for ExternTypeGlobal.
No description provided by the author
ExternTypeMemoryName is the name of the WebAssembly 1.0 (20191205) Text Format field for ExternTypeMemory.
No description provided by the author
ExternTypeTableName is the name of the WebAssembly 1.0 (20191205) Text Format field for ExternTypeTable.
See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#grow-mem.
See https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#memory-instances%E2%91%A0.
No description provided by the author
ValueTypeExternref is a externref type.
ValueTypeF32 is a 32-bit floating point number.
ValueTypeF64 is a 64-bit floating point number.
ValueTypeI32 is a 32-bit integer.
ValueTypeI64 is a 64-bit integer.

# Variables

No description provided by the author
No description provided by the author
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: Lookup should handle timeout (tns fetch may need to take context).
No description provided by the author

# Structs

Config sets configuration of the VM service.
No description provided by the author
HostModuleFunctionDefinition is the definition of a Function within a HostModule.
HostModuleGlobalDefinition is Global Value stored within the HostModule.
HostModuleMemoryDefinition is the memory definition of the Host Module.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
Function is a WebAssembly function exported from an instantiated module.
FunctionDefinition is a WebAssembly function exported in a module.
No description provided by the author
No description provided by the author
Global is a WebAssembly 1.0 (20191205) global exported from an instantiated module.
HostFunction is the function handler of a HostModuleFunctionDefinition.
No description provided by the author
No description provided by the author
No description provided by the author
Memory allows restricted access to a module's memory.
Module return functions exported in a module, post-instantiation.
No description provided by the author
MutableGlobal is a Global whose value can be updated at runtime (variable).
TODO: New takes options for factories.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

ExternType classifies imports and exports with their respective types.
MemorySizer applies during compilation after a module has been decoded from wasm, but before it is instantiated.
No description provided by the author
No description provided by the author
ValueType describes a numeric type used in Web Assembly 1.0 (20191205).