17 std::vector<unsigned long long> &vecInt64) {
20 size_t initialPos = 0;
21 unsigned long long iValue = 0ULL;
27 if (stringToNumber<unsigned long long>(
28 iValue, hexString.substr(initialPos, 16), std::hex)) {
31 <<
"\n String " << hexString.substr(initialPos, 16)
32 <<
" converted to hex value 0x" << std::hex << iValue <<
std::dec 35 vecInt64[iVec] = iValue;
38 <<
"\nstringToNumber failed to convert string " 39 << hexString.substr(initialPos, 16) << std::endl;
46 }
while (hexString.size() >= (initialPos + 16));
bool hexStringToInt64(const std::string &hexString, std::vector< unsigned long long > &vecInt64)
int factorial(int n)
factorial function