Return MIME Base64 decoder options as specified by RFC 2045.

Synopsis

Declared in <bdlde_base64decoderoptions.h>

static
Base64DecoderOptions
mime(IgnoreMode::Enum ignoreMode = IgnoreMode::e_IGNORE_WHITESPACE);

Description

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.

Return Value

a Base64DecoderOptions object configured for MIME decoding

Parameters

Name

Description

ignoreMode

which character types, if any, to ignore

Created with MrDocs