Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ is_hex
Function
is_hex
library/binpatch.cpp:84–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
82
};
83
84
inline bool is_hex(char c)
85
{
86
return (c >=
'0'
&& c <=
'9'
) || (c >=
'a'
&& c <=
'f'
) || (c >=
'A'
&& c <=
'F'
);
87
}
88
89
bool BinaryPatch::loadDIF(std::string name)
90
{
Callers
1
loadDIF
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected