Return a Base64EncoderOptions object configured for URL‐safe encoding.
Synopsis
Declared in <bdlde_base64encoderoptions.h>
static
Base64EncoderOptions
urlSafe(bool padded = false);
Description
Return a Base64EncoderOptions object having the attributes maxLineLength == 0, alphabet == Base64Alphabet::e_URL, and the specified padded. If padded is not specified, it defaults to false. This conforms to RFC 4648 section 5.
Return Value
a Base64EncoderOptions object configured for URL‐safe encoding
Parameters
Name |
Description |
padded |
whether output is padded with '=' characters |
Created with MrDocs