26#ifndef MYSQLSHDK_LIBS_UTILS_UTILS_ENCODING_H_
27#define MYSQLSHDK_LIBS_UTILS_UTILS_ENCODING_H_
47 std::string *encoded);
58 std::string *encoded);
Definition: file_system_exceptions.h:34
bool encode_base64url(const unsigned char *source, std::size_t source_length, std::string *encoded)
Replaces '+' with '-' and '/' with '_', trims any '=' (RFC 7515, Section 2 and RFC 4648,...
Definition: utils_encoding.cc:128
bool decode_base64(std::string_view source, std::string *target)
Decodes a base64 encoded string.
Definition: utils_encoding.cc:42
bool encode_base64(const unsigned char *source, std::size_t source_length, std::string *encoded)
Definition: utils_encoding.cc:66
bool decode_base64url(std::string_view source, std::string *target)
Definition: utils_encoding.cc:92
repeated Source source
Definition: replication_asynchronous_connection_failover.proto:42