#include <PdfOutputStream.h>
Inheritance diagram for PoDoFo::PdfBufferOutputStream:
Public Member Functions | |
PdfBufferOutputStream (PdfRefCountedBuffer *pBuffer) | |
virtual long | Write (const char *pBuffer, long lLen) |
virtual void | Close () |
long | GetLength () const |
The PdfRefCountedBuffer is resized automatically if necessary.
PoDoFo::PdfBufferOutputStream::PdfBufferOutputStream | ( | PdfRefCountedBuffer * | pBuffer | ) | [inline] |
Write to an already opened input device
pBuffer | data is written to this buffer |
virtual void PoDoFo::PdfBufferOutputStream::Close | ( | ) | [inline, virtual] |
Close the PdfOutputStream. This method may throw exceptions and has to be called before the descructor to end writing.
No more data may be written to the output device after calling close.
Implements PoDoFo::PdfOutputStream.
long PoDoFo::PdfBufferOutputStream::GetLength | ( | ) | const [inline] |
long PoDoFo::PdfBufferOutputStream::Write | ( | const char * | pBuffer, | |
long | lLen | |||
) | [virtual] |
Write data to the output stream
pBuffer | the data is read from this buffer | |
lLen | the size of the buffer |
Implements PoDoFo::PdfOutputStream.