Compute the output buffer size required by PHP‐strict decoding of a string.

Synopsis

Declared in <folly/base64.h>

constexpr
std::size_t
base64PHPStrictDecodeRequiredOutputSize(std::string_view s) noexcept;

Return Value

The number of bytes the decoded output may occupy.

Parameters

Name

Description

s

The base64‐encoded input.

Created with MrDocs