|
Monero
|
#include <hex.h>
Static Public Member Functions | |
| static std::string | string (const span< const std::uint8_t > src) |
| static epee::wipeable_string | wipeable_string (const span< const std::uint8_t > src) |
| template<typename T> | |
| static epee::wipeable_string | wipeable_string (const T &pod) |
| template<std::size_t N> | |
| static std::array< char, N *2 > | array (const std::array< std::uint8_t, N > &src) noexcept |
| template<typename T> | |
| static std::array< char, sizeof(T) *2 > | array (const T &src) noexcept |
| static void | buffer (std::ostream &out, const span< const std::uint8_t > src) |
| Append src as hex to out. | |
| static void | formatted (std::ostream &out, const span< const std::uint8_t > src) |
| Append < + src + > as hex to out. | |
Static Private Member Functions | |
| template<typename T> | |
| static T | convert (const span< const std::uint8_t > src) |
| static void | buffer_unchecked (char *out, const span< const std::uint8_t > src) noexcept |
| Write src bytes as hex to out. out must be twice the length. | |
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
|
static |
Append src as hex to out.
|
staticprivatenoexcept |
Write src bytes as hex to out. out must be twice the length.
|
static |
Append < + src + > as hex to out.
|
static |
|
static |
|
inlinestatic |