Wrapper to have data printed as hexadecimal dump. More...
#include <BinaryDumpUtils.h>
Public Member Functions | |
HexDumper (Atom const *data, std::size_t size, unsigned int columns=16U) | |
Public Attributes | |
Atom const *const | data |
std::size_t const | size |
unsigned int const | columns { 16U } |
Wrapper to have data printed as hexadecimal dump.
Atom | base type of the dump |
This record points to the data to be dumped, and it also include some dumping parameters:
size
: how many atoms are present in the datacolumns
: how many atoms to print on each lineThe data is interpreted as a sequence of Atom
types. Supported Atom
types are unsigned integral types (std::uint8_t
, std::uint16_t
, etc.). Each atom is dumped as an HexObj
.
Definition at line 80 of file BinaryDumpUtils.h.
|
inline |
Definition at line 86 of file BinaryDumpUtils.h.
unsigned int const icarus::ns::util::details::HexDumper< Atom >::columns { 16U } |
Definition at line 84 of file BinaryDumpUtils.h.
Atom const* const icarus::ns::util::details::HexDumper< Atom >::data |
Definition at line 82 of file BinaryDumpUtils.h.
std::size_t const icarus::ns::util::details::HexDumper< Atom >::size |
Definition at line 83 of file BinaryDumpUtils.h.