Module wasmedge_sys::instance::memory
source · Expand description
Defines WasmEdge Memory and MemType structs.
A WasmEdge Memory
defines a linear memory as described by MemType
.
MemType
specifies the limits on the size of a memory by a range. The start of
the limit range specifies min size (initial size) of that memory, while the end
restricts the size to which the memory can grow later.
Structs
- Defines the type of a wasm memory instance
- Defines a WebAssembly memory instance, which is a linear memory described by its type. Each memory instance consists of a vector of bytes and an optional maximum size, and its size is a multiple of the WebAssembly page size (64KiB of each page).