MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / isHexDigit

Function isHexDigit

source/Debugger/Debugger_Help.cpp:281–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280
281bool isHexDigit( char c )
282{
283 if ((c >= '0') && (c <= '9')) return true;
284 if ((c >= 'A') && (c <= 'F')) return true;
285 if ((c >= 'a') && (c <= 'f')) return true;
286
287 return false;
288}
289
290// TODO: Use nDstSz to prevent buffer overflow.
291// Alternatively, Colorize() may simply return a std::string.

Callers 1

ColorizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected