base16

Defined in header <mgs/base16.hpp>.

class base16;

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


Characteristics

Alphabet

0123456789ABCDEF

Padding

None

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