folly::base64EncodedSize

Compute the encoded size for standard base64.

Synopsis

Declared in <folly/base64.h>

constexpr
std::size_t
base64EncodedSize(std::size_t inSize) noexcept;

Return Value

The number of bytes the base64 encoding will occupy.

Parameters

NameDescription
inSizeThe number of input bytes to encode.