folly::base64Encode

Encode a byte range to standard base64.

Synopsis

Declared in <folly/base64.h>

constexpr
char*
base64Encode(
    char const* f,
    char const* l,
    char* o) noexcept;

Return Value

A pointer past the last byte written.

Parameters

NameDescription
fPointer to the first input byte.
lPointer past the last input byte.
oPointer to the output buffer.