MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / DigitToChar

Function DigitToChar

sourcecommon/utils.cpp:442–447  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

440#endif
441//---------------------------------------------------------------------------
442char DigitToChar(BYTE num)
443{
444 num &= 0x0F;
445 if( num<10 ) return (char)('0' + num);
446 else return (char)('A' + num - 10);
447}
448//---------------------------------------------------------------------------
449BYTE CharToDigit(char ch, char cl)
450{

Callers 1

ToHexMasFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected