WebAssembly memory instructions
WebAssembly memory instructions.
WebAssembly memory instructions.
- [`copy`](/docs/WebAssembly/Reference/Memory/copy)
- : Copies data from one [`memory`](/docs/WebAssembly/Reference/Definitions/memory) region to another.
- [`fill`](/docs/WebAssembly/Reference/Memory/fill)
- : Sets all values in a region to a specific byte.
- [`grow`](/docs/WebAssembly/Reference/Memory/grow)
- : Increases the size of the memory instance.
- [`init`](/docs/WebAssembly/Reference/Memory/init)
- : Copies the bytes from a passive [`data`](/docs/WebAssembly/Reference/Definitions/data) definition into a [`memory`](/docs/WebAssembly/Reference/Definitions/memory).
- [`load`](/docs/WebAssembly/Reference/Memory/load)
- : Loads a number from memory.
- [`size`](/docs/WebAssembly/Reference/Memory/size)
- : Gets the size of the memory instance.
- [`store`](/docs/WebAssembly/Reference/Memory/store)
- : Stores a number in memory.
## See also
- [`memory`](/docs/WebAssembly/Reference/Definitions/memory) definition
- [`WebAssembly.Memory`](/docs/WebAssembly/Reference/JavaScript_interface/Memory) JavaScript API
Cite this
"WebAssembly memory instructions". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Memory