PoDoFo
0.9.6
|
#include <PdfOutputStream.h>
Public Member Functions | |
virtual pdf_long | Write (const char *pBuffer, pdf_long lLen)=0 |
pdf_long | Write (const std::string &s) |
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 PoDoFo::PdfBufferOutputStream, PoDoFo::PdfDeviceOutputStream, PoDoFo::PdfMemoryOutputStream, PoDoFo::PdfFileOutputStream, PoDoFo::PdfFilteredDecodeStream, and PoDoFo::PdfFilteredEncodeStream.
|
pure virtual |
Write data to the output stream
pBuffer | the data is read from this buffer |
lLen | the size of the buffer |
Implemented in PoDoFo::PdfBufferOutputStream, PoDoFo::PdfDeviceOutputStream, PoDoFo::PdfMemoryOutputStream, PoDoFo::PdfFileOutputStream, PoDoFo::PdfFilteredDecodeStream, and PoDoFo::PdfFilteredEncodeStream.
|
inline |
Helper that writes a string via Write(const char*,long)