folly::base64URLDecodeRuntime

Decode a URL-safe base64 string into an output buffer at runtime.

Synopsis

Declared in <folly/base64.h>

base64_decode_result
base64URLDecodeRuntime(
    std::string_view s,
    char* o) noexcept;

Return Value

The decode result with success flag and output end pointer.

Parameters

NameDescription
sThe base64URL-encoded input.
oPointer to the output buffer.