MCPcopy Create free account
hub / github.com/baidu/tera / IsHex

Function IsHex

src/utils/string_util.cc:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19char IsHex(uint8_t i) {
20 return ((i >= '0' && i <= '9') || (i >= 'a' && i <= 'f') || (i >= 'A' && i <= 'F'));
21}
22
23char ToHex(uint8_t i) {
24 char j = 0;

Callers 1

ParseDebugStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected