Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Norbyte/ositools
/ HexByteToByte
Function
HexByteToByte
OsiInterface/DataLibraries.cpp:34–39 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
32
}
33
34
uint8_t HexByteToByte(char c1, char c2)
35
{
36
uint8_t hi = CharToByte(c1);
37
uint8_t lo = CharToByte(c2);
38
return (hi << 4) | lo;
39
}
40
41
void Pattern::FromString(std::string const & s)
42
{
Callers
1
FromString
Method · 0.85
Calls
1
CharToByte
Function · 0.85
Tested by
no test coverage detected