Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
char 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
76
signed char unhex(char c)
77
{
Callers
10
writeHexByte
Method · 0.85
encodeHexBlock
Method · 0.85
transform
Method · 0.85
ultoa_wp
Function · 0.85
ulltoa_wp
Function · 0.85
m_printHex
Function · 0.85
makeHexString
Function · 0.85
toString
Method · 0.85
uri_escape
Function · 0.85
escapeControls
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected