#include <bdlde_base64decoderoptions.h>
This class
stores the configuration of a Base64Decoder
.
See bdlde_base64decoderoptions
◆ Base64DecoderOptions()
◆ ~Base64DecoderOptions()
bdlde::Base64DecoderOptions::~Base64DecoderOptions |
( |
| ) |
|
|
default |
◆ alphabet()
◆ custom()
Return a Base64DecoderOptions
object having the specified alphabet
, padded
, and ignoreMode
attribute values. The behavior is unless ignoreMode
is a defined value of IgnoreMode
, and alphabet
is a defined value of Base64Alphabet::Enum
.
◆ ignoreMode()
◆ isPadded()
bool bdlde::Base64DecoderOptions::isPadded |
( |
| ) |
const |
|
inline |
◆ mime()
Return a Base64DecoderOptions
object having the attributes alphabet == Base64Alphabet::e_BASIC
, isPadded == true
, and the specified ignoreMode
. If ignoreMode
is not specified, it defaults to e_IGNORE_WHITESPACE
. This conforms to RFC 2045.
◆ operator=()
◆ print()
bsl::ostream & bdlde::Base64DecoderOptions::print |
( |
bsl::ostream & |
stream, |
|
|
int |
level = 0 , |
|
|
int |
spacesPerLevel = 4 |
|
) |
| const |
Format this object to the specified output stream
at the optionally specified indentation level
and return a reference to the modifiable stream
. If level
is specified, optionally specify spacesPerLevel
, the number of spaces per indentation level for this and all of its nested objects. Each line is indented by the absolute value of level * spacesPerLevel
. If level
is negative, suppress indentation of the first line. If spacesPerLevel
is negative, suppress line breaks and format the entire output on one line. If stream
is initially invalid, this operation has no effect. Note that a trailing newline is provided in multiline mode only.
◆ setAlphabet()
Set the alphabet
attribute to the specified value
. The behavior is undefined unless value
is either e_BASIC
or e_UTL
.
◆ setIgnoreMode()
Set the ignoreMode
attribute to the specified value
. The behavior is undefined unless value
is valid value of the IgnoreMode
enum.
◆ setIsPadded()
void bdlde::Base64DecoderOptions::setIsPadded |
( |
bool |
value | ) |
|
|
inline |
◆ standard()
Return a Base64DecoderOptions
object having the specified ignoreMode
and padded
, and the attribute alphabet == Base64Alphabet::e_BASIC
. If padded
is not specified, it defaults to true
. If ignoreMode
is not specified, it defaults to e_IGNORE_NOTHING
. This conforms to RFC 4648 section 4.
◆ urlSafe()
Return a Base64DecoderOptions
object having the attributes alphabet == Base64Alphabet::e_URL
, isPadded == false
and the specified ignoreMode
. If ignoreMode
is not specified, it defaults to e_IGNORE_NOTHING
. This conforms to RFC 4648 section
The documentation for this class was generated from the following file: