base64

Defined in header <mgs/base64.hpp>.

class base64;

base64 is a codec implementing the base64 encoding scheme, as defined in RFC4648.


Characteristics

Alphabet

ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/

Padding

Required, 4 byte boundary

Padding character

=

Inherited from base_n::basic_codec

Member types

Name

Description

traits

The codec traits

Member functions

Name

Description

encoded_size [static]

Computes the encoded size given a decoded size

max_decoded_size [static]

Computes the maximum decoded size given an encoded size

Inherited from codecs::basic_codec

Member functions

Name

Description

encode [static]

Encodes input

decode [static]

Decodes input