Constructors

Synopses

Declared in <bdlde_base64encoder.h>

Create a Base64 encoder in the initial state, with the 'isPadded' option set, a 'maxLineLength' of 76, and the specified 'alphabet'.

explicit
Base64Encoder(Alphabet alphabet);

Create a Base64 encoder configured from the specified options.

explicit
Base64Encoder(EncoderOptions const& options = EncoderOptions::mime());

Create a Base64 encoder in the initial state, with the 'isPadded' option set and the two specified options.

explicit
Base64Encoder(
    int maxLineLength,
    Alphabet alphabet = e_BASIC);

Parameters

Name

Description

alphabet

Base64 alphabet to use for encoding

options

encoder configuration (line length, alphabet, padding)

maxLineLength

maximum encoded line length before a soft break

Created with MrDocs