58 MemDump (
const char* msg_,
int len_);
static const char m_empty_str[]
static Null string
MemDump(const char *msg_, int len_)
Constructor converts original binary image to hex and ascii representation, and stores resultant imag...
const char * getMemDump() const
Obtain a pointer to the dump image (null-terminated char string).
~MemDump()
Destructor releases image memory.
char * m_dump
pointer to converted image
static void dump_to_log(unsigned long mask_, const char *info_, const char *msg_, int len_)
Write hex/ascii dump of a memory region to log file.