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

Method from_base64

libminifi/include/utils/StringUtils.h:450–453  ·  view source on GitHub ↗

* Base64 decodes a string * @param base64 the Base64 encoded string * @return the decoded string */

Source from the content-addressed store, hash-verified

448 * @return the decoded string
449 */
450 inline static std::string from_base64(const std::string& base64) {
451 auto data = from_base64(base64.data(), base64.length());
452 return std::string(reinterpret_cast<char*>(data.data()), data.size());
453 }
454
455 /**
456 * Base64 encodes bytes and writes the result to base64

Callers

nothing calls this directly

Calls 2

lengthMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected