| Main Page Class Hierarchy Alphabetical List Compound List Examples |
Base64 encoder. More...
#include <base64.h>
Public Member Functions | |
| double | codeSizeMultiplier () const |
| Encoder (int maxlen=default_maxlen) | |
| const char * | name () const |
| template<typename InIt , typename OutIt > | |
| void | process (InIt bit, InIt eit, OutIt out) |
| template<typename OutIt > | |
| void | process (char_type c, OutIt &out) |
| template<typename OutIt > | |
| void | flush (OutIt &out) |
Base64 encoder.
| Encoder | ( | int | maxlen = default_maxlen |
) | [inline] |
Constructor, maxlen is the maximum length of every encoded line
| double codeSizeMultiplier | ( | ) | const [inline, virtual] |
return the multiplier of the required (max) size of the output buffer when encoding
Reimplemented from codec.
| void flush | ( | OutIt & | out | ) | [inline] |
Write to out any buffered encoded char.
| const char* name | ( | ) | const [inline, virtual] |
| void process | ( | char_type | c, | |
| OutIt & | out | |||
| ) | [inline] |
| void process | ( | InIt | bit, | |
| InIt | eit, | |||
| OutIt | out | |||
| ) | [inline] |
Encodes [bit,eit) and write any encoded char to out.