Hermes
hermes::MemoryDumper Class Reference

Auxiliary logging class for printing blocks of memory. More...

Classes

struct  RegionLayout
 Memory region description. More...
 

Static Public Member Functions

template<typename T >
static std::string dumpInfo (const T *data, std::size_t size)
 Dumps memory info about a given memory region. More...
 
template<typename T >
static std::string dump (const T *data, std::size_t size, u32 bytes_per_row=8, const RegionLayout &region=RegionLayout(), memory_dumper_options options=memory_dumper_options::none)
 Dumps memory region. More...
 

Detailed Description

Auxiliary logging class for printing blocks of memory.

Member Function Documentation

◆ dump()

template<typename T >
static std::string hermes::MemoryDumper::dump ( const T *  data,
std::size_t  size,
u32  bytes_per_row = 8,
const RegionLayout region = RegionLayout(),
memory_dumper_options  options = memory_dumper_options::none 
)
inlinestatic

Dumps memory region.

Template Parameters
T
Parameters
data
size
bytes_per_row
region
options
Returns

◆ dumpInfo()

template<typename T >
static std::string hermes::MemoryDumper::dumpInfo ( const T *  data,
std::size_t  size 
)
inlinestatic

Dumps memory info about a given memory region.

Template Parameters
T
Parameters
data
size
Returns

The documentation for this class was generated from the following file: