View Source Orb.Memory (Orb v0.0.3)
Work with memory.
Summary
Functions
Initializes data in memory. In Wat is (data …)
Initializes data in memory from a packed Map
. In Wat is (data …)
Load value of type
from memory address
.
Memory.load!(I32, 0x100)
Declare how many 64Kib pages of memory your module needs.
Can be called multiple times: the highest value is used.
Store value
of type
at memory address
.
Memory.store!(I32, 0x100, 42)