MCPcopy Create free account
hub / github.com/SmingHub/Sming / hexchar

Function hexchar

Sming/System/stringutil.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65char hexchar(unsigned char c)
66{
67 if(c < 10) {
68 return (char)('0' + c);
69 }
70 if(c <= 15) {
71 return (char)('a' + c - 10);
72 }
73 return '\0';
74}
75
76signed char unhex(char c)
77{

Callers 10

writeHexByteMethod · 0.85
encodeHexBlockMethod · 0.85
transformMethod · 0.85
ultoa_wpFunction · 0.85
ulltoa_wpFunction · 0.85
m_printHexFunction · 0.85
makeHexStringFunction · 0.85
toStringMethod · 0.85
uri_escapeFunction · 0.85
escapeControlsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected