12 std::stringstream bitstr;
13 bitstr <<
"The " << nbytes <<
"-byte chunk of memory beginning at " <<
static_cast<void*
>(memstart) <<
" is : ";
17 for(
unsigned int i = 0; i < nbytes; i++) {
19 bitstr << std::bitset<8>(*((dune::reinterpret_cast_checked<uint8_t*>(memstart))+i)) <<
" ";
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
void display_bits(void *memstart, size_t nbytes, std::string sourcename)