Decode a standard base64 string into an output buffer at runtime.

Synopsis

Declared in <folly/base64.h>

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

Return Value

The decode result with success flag and output end pointer.

Parameters

Name

Description

s

The base64‐encoded input.

o

Pointer to the output buffer.

Created with MrDocs