jigdo API
Last update by Admin on 2010-05-23
util/mimestream.hh File Reference
Convert binary data to/from ASCII using Base64 encoding. More...
#include <config.h>
#include <string.h>
#include <iostream>
#include <string>
#include <vector>
#include <debug.hh>
Go to the source code of this file.
Classes | |
class | Base64Out< Output > |
Convert binary data to Base64 and output. More... | |
class | Base64StringOut |
Output base64 data to a std::string. More... | |
class | Base64In< Output > |
Convert a series of Base64 ASCII strings into binary data. More... | |
class | Base64StringIn |
Helper class for mimestream-test.cc, to convert base64 characters to bytes. More... | |
Defines | |
#define | INLINE inline |
#define | x 255 |
Typedefs | |
typedef Base64Out < Base64StringOut > | Base64String |
A string which you can output to with "str << 1234" or "str.write(buf, 4096)". | |
typedef Base64In< Base64StringIn > | Base64StringI |
Functions | |
template<class Output> | |
Base64Out< Output > & | flush (Base64Out< Output > &s) |
template<class Output> | |
Base64Out< Output > & | operator<< (Base64Out< Output > &s, Base64Out< Output > &(*m)(Base64Out< Output > &)) |
Detailed Description
Convert binary data to/from ASCII using Base64 encoding.
Define Documentation
#define INLINE inline |
#define x 255 |
Typedef Documentation
typedef Base64Out<Base64StringOut> Base64String |
A string which you can output to with "str << 1234" or "str.write(buf, 4096)".
typedef Base64In<Base64StringIn> Base64StringI |
Function Documentation
References Base64Out< Output >::flush().
Referenced by JigdoDescVec::list(), main(), ZobstreamGz::zip2(), and ZobstreamBz::zip2().
template<class Output>
Base64Out<Output>& operator<< | ( | Base64Out< Output > & | s, | |
Base64Out< Output > &(*)(Base64Out< Output > &) | m | |||
) | [inline] |
Generated on Tue Sep 23 14:27:42 2008 for jigdo by
