An interface for writing blocks of data to a data source.
More...
#include <OutputStream.h>
|
void | Write (char ch) |
| Write the character in the device. More...
|
|
void | Write (const std::string_view &view) |
| Write the view to the OutputStream. More...
|
|
void | Write (const char *buffer, size_t size) |
| Write data to the output stream. More...
|
|
void | Flush () |
|
|
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 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() [1/3]
void OutputStream::Write |
( |
char |
ch | ) |
|
Write the character in the device.
- Parameters
-
◆ Write() [2/3]
void OutputStream::Write |
( |
const char * |
buffer, |
|
|
size_t |
size |
|
) |
| |
Write data to the output stream.
- Parameters
-
buffer | the data is read from this buffer |
len | the size of the buffer |
◆ Write() [3/3]
void PoDoFo::OutputStream::Write |
( |
const std::string_view & |
view | ) |
|
Write the view to the OutputStream.
- Parameters
-
view | the view to be written |
The documentation for this class was generated from the following files:
- src/podofo/auxiliary/OutputStream.h
- src/podofo/auxiliary/OutputStream.cpp