base64URLEncode overloads
Synopses
Declared in <folly/base64.h>
Encode a string to URL‐safe base64.
std::string
base64URLEncode(std::string_view s);
Encode a byte range to URL‐safe base64.
constexpr
char*
base64URLEncode(
char const* f,
char const* l,
char* o) noexcept;
Return Value
-
The base64URL‐encoded string.
-
A pointer past the last byte written.
Parameters
Name |
Description |
s |
The bytes to encode. |
f |
Pointer to the first input byte. |
l |
Pointer past the last input byte. |
o |
Pointer to the output buffer. |
Created with MrDocs