|
BDE 4.14.0 Production release
|
Provide an enumeration of the set of possible base 64 alphabets.
enumThis component provides a namespace for the enum type bdlde::Base64Alphabet::Enum, which enumerates the set of possible alphabets.
| Name | Description |
|---|---|
| e_BASIC | standard base64 alphabet |
| e_URL | URL-safe base64 alphabet |
This section illustrates intended use of this component.
The following snippets of code provide a simple illustration of bdlde::Base64Alphabet usage.
First, we create variable of type bdlde::Base64Alphabet::Enum and initialize it with the enumerator values:
Next, we store a pointer to their ASCII representation in variables of type const char *:
Now, we stream some Enums to ostreams:
Finally, we observe the output of the streaming: