MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / nibble_to_hex_char

Function nibble_to_hex_char

dds/DCPS/SafetyProfileStreams.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static inline char nibble_to_hex_char(char nibble)
126{
127 nibble &= 0x0F;
128 return ((nibble < 0xA) ? '0' : ('a' - 0xA)) + nibble;
129}
130
131String to_hex_dds_string(
132 const char* data, size_t size, const char delim, const size_t delim_every)

Callers 1

to_hex_dds_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected