Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Magic is the wasm file magic number. Magic = 0x6d736100 // \0asm )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionImport ¶
type FunctionImport struct {
Index uint32
}
type GlobalImport ¶
type ImportEntry ¶
type ImportEntry struct {
Module string
Field string
Kind ImportKind
Function FunctionImport
Table TableImport
Memory MemoryImport
Global GlobalImport
}
type ImportKind ¶
type ImportKind uint8
const ( ImportKindFunction ImportKind = iota ImportKindTable ImportKindMemory ImportKindGlobal )
type ImportSection ¶
type ImportSection struct {
// Entries is the count of import entries to decode.
Entries uint32
}
type MemoryImport ¶
type MemoryImport struct {
Limits ResizableLimits
}
type ResizableLimits ¶
type TableImport ¶
type TableImport struct {
ElemType int8
Limits ResizableLimits
}
Click to show internal directories.
Click to hide internal directories.