HexStr

HexStr overloads

Synopses

Declared in <crypto/hex_base.h>

Convert a span of std::byte to a lower-case hexadecimal string.

std::string
HexStr(std::span<std::byte const> s);
» more...

Convert a span of chars to a lower-case hexadecimal string.

std::string
HexStr(std::span<char const> s);
» more...

Convert a span of bytes to a lower-case hexadecimal string.

std::string
HexStr(std::span<uint8_t const> s);
» more...

Return Value

The lower-case hexadecimal representation of s.

Parameters

NameDescription
sThe bytes to encode.