folly::base64_decode_result

Result of a low-level base64 decode operation.

Synopsis

Declared in <folly/base64.h>

struct base64_decode_result;

Data Members

NameDescription
is_success True if decoding succeeded.
o Pointer past the last byte written.

Non-Member Functions

NameDescription
base64DecodeDecode a standard base64 string into an output buffer.
base64DecodeDecode a standard base64 byte range into an output buffer.
base64DecodeRuntimeDecode a standard base64 byte range into an output buffer at runtime.
base64DecodeRuntimeDecode a standard base64 string into an output buffer at runtime.
base64PHPStrictDecodeDecode a base64 byte range using PHP-strict rules into an output buffer.
base64PHPStrictDecodeDecode a base64 string using PHP-strict rules into an output buffer.
base64URLDecodeDecode a URL-safe base64 string into an output buffer.
base64URLDecodeDecode a URL-safe base64 byte range into an output buffer.
base64URLDecodeRuntimeDecode a URL-safe base64 byte range into an output buffer at runtime.
base64URLDecodeRuntimeDecode a URL-safe base64 string into an output buffer at runtime.