#include <base64.h>
Public Member Functions | |
void | zero () |
byte_t | get_0 () const |
byte_t | get_1 () const |
byte_t | get_2 () const |
void | set_0 (byte_t _ch) |
void | set_1 (byte_t _ch) |
void | set_2 (byte_t _ch) |
int | b64_0 () const |
int | b64_1 () const |
int | b64_2 () const |
int | b64_3 () const |
void | b64_0 (int _ch) |
void | b64_1 (int _ch) |
void | b64_2 (int _ch) |
void | b64_3 (int _ch) |
Private Attributes | |
byte_t | _data [3] |
void base64< _E, _Tr >::three2four::zero | ( | ) | [inline] |
int base64< _E, _Tr >::three2four::b64_0 | ( | ) | const [inline] |
int base64< _E, _Tr >::three2four::b64_1 | ( | ) | const [inline] |
int base64< _E, _Tr >::three2four::b64_2 | ( | ) | const [inline] |
int base64< _E, _Tr >::three2four::b64_3 | ( | ) | const [inline] |
void base64< _E, _Tr >::three2four::b64_0 | ( | int | _ch | ) | [inline] |
void base64< _E, _Tr >::three2four::b64_1 | ( | int | _ch | ) | [inline] |
00135 { 00136 _data[0] = ((_ch & _0011_0000) >> 4) | (_1111_1100 & _data[0]); 00137 _data[1] = ((_ch & _0000_1111) << 4) | (_0000_1111 & _data[1]); }
void base64< _E, _Tr >::three2four::b64_2 | ( | int | _ch | ) | [inline] |
00139 { 00140 _data[1] = ((_ch & _0011_1100) >> 2) | (_1111_0000 & _data[1]); 00141 _data[2] = ((_ch & _0000_0011) << 6) | (_0011_1111 & _data[2]); }
void base64< _E, _Tr >::three2four::b64_3 | ( | int | _ch | ) | [inline] |
byte_t base64< _E, _Tr >::three2four::_data[3] [private] |