A base64::stream is used to wrap a C++ standard I/O stream with a base64::streambuf so that encoding/decoding and the management of the streambuf happens automatically. More...
#include <zorba/base64_stream.h>
Inherits StreamType.
Public Member Functions | |
stream () | |
Constructs a base64::stream. More... | |
template<typename StreamArgType > | |
stream (StreamArgType stream_arg) | |
Constructs a stream. More... | |
template<typename StreamArgType > | |
stream (StreamArgType stream_arg, std::ios_base::openmode mode) | |
Constructs a base64::stream. More... | |
A base64::stream is used to wrap a C++ standard I/O stream with a base64::streambuf so that encoding/decoding and the management of the streambuf happens automatically.
A base64::stream is useful for streams created by you.
StreamType | The I/O stream class type to wrap. It must be a concrete stream class. |
Definition at line 247 of file base64_stream.h.
|
inline |
Constructs a base64::stream.
Definition at line 252 of file base64_stream.h.
|
inline |
Constructs a stream.
StreamArgType | The type of the first argument of StreamType's constructor. |
stream_arg | The argument to pass as the first argument to StreamType's constructor. |
Definition at line 274 of file base64_stream.h.
|
inline |
Constructs a base64::stream.
StreamArgType | The type of the first argument of StreamType's constructor. |
stream_arg | The argument to pass as the first argument to StreamType's constructor. |
mode | The open-mode to pass to StreamType's constructor. |
Definition at line 298 of file base64_stream.h.