Function liberate::string::hexencode(char const *, size_t, bool)

Function Documentation

std::string liberate::string::hexencode(char const *input, size_t input_size, bool uppercase = false)

Convenience wrapper; returns the output as a std::string.

Parameters
  • input[in] The input buffer to hex encode.

  • input_size[in] The size of the input buffer.

  • uppercase[in] optionally output uppercase hex codes; defaults to false.

Returns

The transcoded value, or an empty string.