Decoder Class Reference
Base64 decoder.
More...
#include <base64.h>
List of all members.
Public Member Functions |
| Decoder () |
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) |
Detailed Description
Base64 decoder.
- See also:
- encode decode
Constructor & Destructor Documentation
Member Function Documentation
void flush |
( |
OutIt & |
out |
) |
[inline] |
Write to out
any buffered decoded char.
const char* name |
( |
|
) |
const [inline, virtual] |
Returns the name of the codec ("Base64")
Implements codec.
void process |
( |
char_type |
c, |
|
|
OutIt & |
out | |
|
) |
| | [inline] |
Decodes c
and write any decoded output char to out
.
- Warning:
- You must call flush() when all chars have been processed by the decode funcion.
while( (c = getchar()) != EOF )
b64.decode(c, out);
b64.flush();
- See also:
- flush()
void process |
( |
InIt |
bit, |
|
|
InIt |
eit, |
|
|
OutIt |
out | |
|
) |
| | [inline] |
Decodes [bit
,eit
) and write any decoded char to out
.
The documentation for this class was generated from the following file: