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

Function HexVal

sourcecommon/utils.cpp:1250–1256  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1248}
1249//---------------------------------------------------------------------------
1250BYTE HexVal(char hex)
1251{
1252 hex = (char)CharUpper((LPTSTR)hex);
1253 if( (hex>='0') && (hex<='9') ) return (BYTE)(hex-'0');
1254 if( (hex>='A') && (hex<='F') ) return (BYTE)(hex-'A'+10);
1255 return 0;
1256}
1257//---------------------------------------------------------------------------
1258int VariantGetValuesCount(Variant v)
1259{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected