1 #ifndef PCAPPP_GENERAL_UTILS 2 #define PCAPPP_GENERAL_UTILS 26 std::string
byteArrayToHexString(
const uint8_t* byteArr,
size_t byteArrSize,
int stringSizeLimit = -1);
41 size_t hexStringToByteArray(
const std::string& hexString, uint8_t* resultByteArr,
size_t resultByteArrSize);
44 #endif // PCAPPP_GENERAL_UTILS size_t hexStringToByteArray(const std::string &hexString, uint8_t *resultByteArr, size_t resultByteArrSize)
std::string byteArrayToHexString(const uint8_t *byteArr, size_t byteArrSize, int stringSizeLimit=-1)
The main namespace for the PcapPlusPlus lib.