This class helps to represent a given container's data as in a HEX viewer.
More...
#include <HexView.h>
|
| CHexView (const _T &_Val, size_t _nElementsInRaw=16) |
|
template<class _T>
class dds::misc::CHexView< _T >
This class helps to represent a given container's data as in a HEX viewer.
- Note
- Example:
{
vec.push_back(125);
vec.push_back(525);
vec.push_back(325);
vec.push_back(123);
vec.push_back(154);
vec.push_back(125);
vec.push_back(125);
..
..
vec.push_back(167);
}
Output:
0x00000000 | 7D 0D 45 7B 9A 7D 7D 7D 7D 7D 7D 7D 7D 7D A7 7D | }.E{.}}}}}}}}}.}
0x00000010 | 7D 7D 0D 45 7B 9A 7D 7D 7D 7D 7D 7D 7D 7D 7D A7 | }}.E{.}}}}}}}}}.
0x00000020 | 7D 7D 0D 45 7B 9A 7D 7D 7D 7D 7D 7D 7D 7D 7D A7 | }}.E{.}}}}}}}}}.
0x00000030 | 7D 7D A7 | }}.
◆ CHexView()
◆ operator<<
template<class _T>
std::ostream& operator<< |
( |
std::ostream & |
_ostream, |
|
|
const CHexView< _T > & |
_this |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: