|
pdfmm 0.9.20
|
#include <PdfOutputStream.h>
Public Member Functions | |
| void | Write (const char *buffer, size_t len) |
| void | Write (const std::string_view &view) |
| virtual void | Close ()=0 |
An interface for writing blocks of data to a data source.
|
pure virtual |
Close the PdfOutputStream. This method may throw exceptions and has to be called before the destructor to end writing.
No more data may be written to the output device after calling close.
Implemented in mm::PdfRC4OutputStream, PdfFilteredEncodeStream, PdfFilteredDecodeStream, mm::PdfMemoryOutputStream, mm::PdfDeviceOutputStream, and mm::PdfContainerOutputStream< TContainer >.
| void PdfOutputStream::Write | ( | const char * | buffer, |
| size_t | len | ||
| ) |
Write data to the output stream
| buffer | the data is read from this buffer |
| len | the size of the buffer |
| void mm::PdfOutputStream::Write | ( | const std::string_view & | view | ) |
Write data to the output stream
| view | the data is read from this buffer |