base64URLDecode overloads
Declared in <folly/base64.h>
Decode a URL-safe base64 string.
std::string
base64URLDecode(std::string_view s);
» more...
Decode a URL-safe base64 string into an output buffer.
constexpr
base64_decode_result
base64URLDecode(
std::string_view s,
char* o) noexcept;
» more...
Decode a URL-safe base64 byte range into an output buffer.
constexpr
base64_decode_result
base64URLDecode(
char const* f,
char const* l,
char* o) noexcept;
» more...
| Name | Thrown on |
|---|---|
base64_decode_error | if the input is not valid base64URL. |
| Name | Description |
|---|---|
| s | The base64URL-encoded bytes to decode. |
| o | Pointer to the output buffer. |
| f | Pointer to the first input byte. |
| l | Pointer past the last input byte. |