|
PoDoFo 1.1.0
|
An interface for writing blocks of data to a data source. More...
#include <OutputStream.h>
Public Member Functions | |
| void | Write (char ch) |
| Write the character in the device. | |
| void | Write (const std::string_view &view) |
| Write the view to the OutputStream. | |
| void | Write (const char *buffer, size_t size) |
| Write data to the output stream. | |
| void | Flush () |
Protected Member Functions | |
| virtual void | writeBuffer (const char *buffer, size_t size)=0 |
| virtual void | flush () |
| virtual void | checkWrite () const |
| Optional checks before writing By default does nothing. | |
Static Protected Member Functions | |
| static void | WriteBuffer (OutputStream &stream, const char *buffer, size_t size) |
| static void | Flush (OutputStream &stream) |
An interface for writing blocks of data to a data source.
Write the character in the device.
| ch | the character to write |
Write data to the output stream.
| buffer | the data is read from this buffer |
| len | the size of the buffer |
Write the view to the OutputStream.
| view | the view to be written |