|Home > Iris APIs > Memory|
The memory interface allows you to access data in the memory spaces that an instance exposes. All memory spaces are assumed to be byte-addressable, in the sense that each address refers to a byte location.
Clients first query a list of available memory spaces and their meta information by calling
memory_getMemorySpaces(). Each memory space is identified by a memory space id. Memory is read or written by using the
spaceId and the
memory_write() functions, respectively. The other memory functions provide more exotic functionality like address translations and retrieving sideband information.