Helper class to convert a number to hexadecimal format, for use with stream insertion operators. More...
#include <string-helper.hpp>
Public Member Functions | |
constexpr | AsHex (uint64_t val) noexcept |
Friends | |
std::ostream & | operator<< (std::ostream &, const AsHex &) |
Helper class to convert a number to hexadecimal format, for use with stream insertion operators.
Example usage:
Definition at line 52 of file string-helper.hpp.
|
inlineexplicitnoexcept |
Definition at line 56 of file string-helper.hpp.
References ndn::fromHex(), ndn::fromHexChar(), ndn::operator<<(), ndn::printHex(), ndn::toHex(), and ndn::unescape().
|
friend |
Definition at line 35 of file string-helper.cpp.