Module anchor_spl::shmem [−][src]
Expand description
CPI API for interacting with the SPL shared memory program.
Structs
Statics
The static program ID
Functions
Confirms that a given pubkey is equivalent to the program ID
Returns the program ID
ret
writes the given data
field to the shared memory account
acting as a return value that can be used across CPI.
The caleee should use this to write data into the shared memory account.
The caler should use the account directly to pull out and interpret the
bytes. Shared memory serialization is not specified and is up to the
caller and callee.