MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / from_hex

Method from_hex

libminifi/include/utils/StringUtils.h:383–386  ·  view source on GitHub ↗

* Hexdecodes a string * @param hex the hexencoded string * @return the hexdecoded string */

Source from the content-addressed store, hash-verified

381 * @return the hexdecoded string
382 */
383 inline static std::string from_hex(const std::string& hex) {
384 auto data = from_hex(hex.data(), hex.length());
385 return std::string(reinterpret_cast<char*>(data.data()), data.size());
386 }
387
388 /**
389 * Hexencodes bytes and writes the result to hex

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected