24 inline static const string encodeInt(
const uint64_t decodedInt) {
35 inline static uint64_t
decodeInt(
const string& encodedString) {
37 if (
decodeInt(encodedString, decodedInt) ==
false)
return -1LL;
46 static void encodeInt(
const uint64_t decodedInt,
string& encodedString);
54 static bool decodeInt(
const string& encodedString, uint64_t& decodedInt);
Integer to hex string conversion utility class.
static uint64_t decodeInt(const string &encodedString)
Decodes a hex string representation to an 64 bit unsigned integer.
static const string encodeInt(const uint64_t decodedInt)
Encodes an 64 bit unsigned integer to a hex string representation.