Searched refs:byteHexNum (Results 1 – 1 of 1) sorted by relevance
115 const int byteHexNum = 2; in PrintHexVector() local122 …char *buff = new (std::nothrow) char[dataLength * byteHexNum + 1]; // dual and add one for the end; in PrintHexVector()128 buff[byteHexNum * i] = CAP_HEX_CHAR_MAP[data[i] >> 4]; // high 4 bits to one hex. in PrintHexVector()129 buff[byteHexNum * i + 1] = CAP_HEX_CHAR_MAP[data[i] & 0x0F]; // low 4 bits to one hex. in PrintHexVector()131 buff[dataLength * byteHexNum] = '\0'; in PrintHexVector()