PoDoFo
0.9.6
|
#include <PdfOutputStream.h>
Public Member Functions | |
PdfDeviceOutputStream (PdfOutputDevice *pDevice) | |
virtual pdf_long | Write (const char *pBuffer, pdf_long lLen) |
virtual void | Close () |
![]() | |
pdf_long | Write (const std::string &s) |
An output stream that writes to a PdfOutputDevice
PoDoFo::PdfDeviceOutputStream::PdfDeviceOutputStream | ( | PdfOutputDevice * | pDevice | ) |
Write to an already opened input device
pDevice | an output device |
|
inlinevirtual |
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.
Implements PoDoFo::PdfOutputStream.
|
virtual |
Write data to the output stream
pBuffer | the data is read from this buffer |
lLen | the size of the buffer |
Implements PoDoFo::PdfOutputStream.