Base64 output stream.
More...
#include <base64ostream.h>
Base64 output stream.
Definition at line 30 of file base64ostream.h.
◆ Base64OStream() [1/2]
OTest2::Base64OStream::Base64OStream |
( |
std::ostream * |
decorated_, |
|
|
int |
line_length_ = 0 |
|
) |
| |
|
explicit |
Ctor.
- Parameters
-
decorated_ | A decorated output stream. The ownership is not taken. |
line_length_ | Length of lines of output data. If the value is 0 the output is formatted into one continuous line. If the value positive, the output is formatted into lines of this length. The value must be divisible by 4! |
Definition at line 179 of file base64ostream.cpp.
◆ ~Base64OStream()
OTest2::Base64OStream::~Base64OStream |
( |
| ) |
|
|
virtual |
◆ Base64OStream() [2/2]
◆ finish()
bool OTest2::Base64OStream::finish |
( |
| ) |
|
|
noexcept |
Finish current sequence.
The method finishes the sequence, inserts appropriate padding and flushes data into the decorated stream.
- Returns
- False if an error happens
Definition at line 190 of file base64ostream.cpp.
◆ operator=()
The documentation for this class was generated from the following files: