Mem
zio.wasm.Mem
final case class Mem(memType: MemType) extends Section[CoreIndexSpace]
The mems component of a module defines a vector of linear memories (or memories for short) as described by their memory type:
A memory is a vector of raw uninterpreted bytes. The size in the limits of the memory type specifies the initial size of that memory, while its max, if present, restricts the size to which it can grow later. Both are in units of page size.
Memories can be initialized through data segments.
Memories are referenced through memory indices, starting with the smallest index not referencing a memory import. Most constructs implicitly reference memory index 0.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Section[CoreIndexSpace]class Objecttrait Matchableclass Any
Members list
In this article