absl::Base64Escape

Deprecated overload of Base64Escape() that writes to a dest buffer.

Synopsis

Declared in <absl/strings/escaping.h>

[[deprecated("Use the string-returning version of Base64Escape()")]]
void
Base64Escape(
    std::string_view src,
    std::string* dest);

WARNING

Deprecated: Use the string-returning version of Base64Escape(). Use of this entity is allowed but discouraged.

Parameters

NameDescription
srcThe string to encode.
destThe output string that receives the base64-encoded result.