base64DecodeRuntime overloads

Synopses

Declared in <folly/base64.h>

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

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

Decode a standard base64 byte range into an output buffer at runtime.

base64_decode_result
base64DecodeRuntime(
    char const* f,
    char const* l,
    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.

f

Pointer to the first input byte.

l

Pointer past the last input byte.

Created with MrDocs