stlencoders
1.1.3
|
Character encoding traits specialization for char
.
More...
Public Types | |
typedef char | char_type |
The encoding character type. More... | |
typedef unsigned char | int_type |
An integral type representing an octet. More... | |
Static Public Member Functions | |
static bool | eq (const char_type &lhs, const char_type &rhs) |
Returns whether the character lhs is to be treated equal to the character rhs. More... | |
static bool | eq_int_type (const int_type &lhs, const int_type &rhs) |
Returns whether the integral value lhs is to be treated equal to rhs. More... | |
static char_type | to_char_type (const int_type &c) |
Returns the character representation of a 5-bit value. More... | |
static char_type | to_char_type_upper (const int_type &c) |
Returns the uppercase character representation of a 5-bit value. More... | |
static char_type | to_char_type_lower (const int_type &c) |
Returns the lowercase character representation of a 5-bit value. More... | |
static int_type | to_int_type (const char_type &c) |
Returns the 5-bit value represented by a character, or inv() for characters not in the encoding alphabet. More... | |
static int_type | inv () |
Returns an integral value represented by no character in the encoding alphabet. More... | |
static char_type | pad () |
Returns the character used to perform padding at the end of a character range. More... | |
Character encoding traits specialization for char
.
This character encoding traits class defines the encoding alphabet for the base32 encoding scheme as defined in RFC 4648 for the encoding character type char
.
typedef char stlencoders::base32_traits< char >::char_type |
The encoding character type.
typedef unsigned char stlencoders::base32_traits< char >::int_type |
An integral type representing an octet.
|
inlinestatic |
Returns whether the character lhs is to be treated equal to the character rhs.
|
inlinestatic |
Returns whether the integral value lhs is to be treated equal to rhs.
|
inlinestatic |
Returns an integral value represented by no character in the encoding alphabet.
|
inlinestatic |
Returns the character used to perform padding at the end of a character range.
|
inlinestatic |
Returns the character representation of a 5-bit value.
|
inlinestatic |
Returns the lowercase character representation of a 5-bit value.
|
inlinestatic |
Returns the uppercase character representation of a 5-bit value.
|
inlinestatic |
Returns the 5-bit value represented by a character, or inv() for characters not in the encoding alphabet.