Return TypeFunction nameArguments
boolIsHexValue(unsigned int&,const char*,)

Declared and defined in file: hzTokens.cpp

Function Logic:

0:START 1:nLen 2:!i 3:Return false 4:*i==(char)35&&IsHex(i[1]) 5:items items 6:*i=='0'&&i[1]=='x' 7:nBytes i 8:IsHex(*i); 9:!nHex 10:Return false 11:nLen 12:Return true

Function body:

bool IsHexValue (unsigned int& nLen, const char* pStr)
{
   const char* i = pStr ;
   uint32_t    nBytes = 0;
   uint32_t    nHex = 0;
   nLen = 0;
   if (!i)
       return false ;
   if (*i == CHAR_HASH && IsHex(i[1]))
       { nBytes++ ; i++ ; }
   if (*i == ''0''&&i[1]== ''x'')
       { nBytes += 2; i += 2; }
   for (; IsHex(*i) ; nHex++, nBytes++, i++) ;
   if (!nHex)
       return false ;
   nLen = nBytes ;
   return true ;
}