Bitcoin Core 28.99.0
P2P Digital Currency
Functions
hex_base.h File Reference
#include <span.h>
#include <cstddef>
#include <cstdint>
#include <string>
Include dependency graph for hex_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string HexStr (const Span< const uint8_t > s)
 Convert a span of bytes to a lower-case hexadecimal string. More...
 
std::string HexStr (const Span< const char > s)
 
std::string HexStr (const Span< const std::byte > s)
 
signed char HexDigit (char c)
 

Function Documentation

◆ HexDigit()

signed char HexDigit ( char  c)

Definition at line 63 of file hex_base.cpp.

Here is the caller graph for this function:

◆ HexStr() [1/3]

std::string HexStr ( const Span< const char >  s)
inline

Definition at line 18 of file hex_base.h.

Here is the call graph for this function:

◆ HexStr() [2/3]

std::string HexStr ( const Span< const std::byte >  s)
inline

Definition at line 19 of file hex_base.h.

Here is the call graph for this function:

◆ HexStr() [3/3]

std::string HexStr ( const Span< const uint8_t >  s)

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

Definition at line 29 of file hex_base.cpp.

Here is the call graph for this function: