|Home > Iris APIs > Memory API|
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() function. The other memory functions provide less common functionality, for example address translations and retrieving sideband information.
$PVLIB_HOME/Iris/Examples/Client/Memory/ contains an example client application that demonstrates how to use this API.