OTest2
A C++ testing framework
|
Base64 output stream buffer. More...
Public Member Functions | |
Buffer (std::ostream *decorated_, int width_) | |
Ctor. More... | |
virtual | ~Buffer () |
Dtor. More... | |
Buffer (const Buffer &)=delete | |
Buffer & | operator= (const Buffer &)=delete |
bool | finish () noexcept |
Finish currently opened sequence. More... | |
Base64 output stream buffer.
Definition at line 33 of file base64ostream.cpp.
|
explicit |
Ctor.
decorated_ | The decorated stream. The ownership is not taken, the object must exist for the whole lifetime. |
width_ | If this value is non-zero and positive, the output is formatted into lines of this width. The value must divisible by 4. If the value is zero, the output will be one continuous line. |
Definition at line 86 of file base64ostream.cpp.
|
virtual |
Dtor.
Definition at line 109 of file base64ostream.cpp.
|
delete |
|
noexcept |
Finish currently opened sequence.
This method finishes currently opened sequence, flushes it into the decorated stream buffer and adds appropriate base64 padding.
Definition at line 174 of file base64ostream.cpp.