base64PHPStrictDecodeRequiredOutputSize overloads

Synopses

Declared in <folly/base64.h>

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

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

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

constexpr
std::size_t
base64PHPStrictDecodeRequiredOutputSize(
    char const* f,
    char const* l) noexcept;

Return Value

The number of bytes the decoded output may occupy.

Parameters

Name

Description

s

The base64‐encoded input.

f

Pointer to the first input byte.

l

Pointer past the last input byte.

Created with MrDocs