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);

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

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

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

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

Return Value

The lower‐case hexadecimal representation of s.

Parameters

Name

Description

s

The bytes to encode.

Created with MrDocs