Module mem

Module mem 

Source
Expand description

Memory tools

Functions§

get_layout
Allocate memory with the specified size and alignment.
has_new_bits
Compare two memory maps to detect new bits.
read_from_mem
Read a value of type T from shared memory at the specified offset.
read_from_ptr
Read a value of type T from a raw pointer at the specified offset.
show_shm_mem_layout
Display the memory layout of a shared memory segment.
show_shm_ptr_layout
Display the memory layout at a specific memory pointer.
write_to_mem
Write a value of type T to shared memory at the specified offset.
write_to_ptr
Write a value of type T to a raw pointer at the specified offset.