#include <PdfOutputStream.h>
Inheritance diagram for PoDoFo::PdfMemoryOutputStream:
Public Member Functions | |
PdfMemoryOutputStream (pdf_long lInitial=INITIAL_SIZE) | |
PdfMemoryOutputStream (char *pBuffer, pdf_long lLen) | |
virtual pdf_long | Write (const char *pBuffer, pdf_long lLen) |
virtual void | Close () |
pdf_long | GetLength () const |
char * | TakeBuffer () |
DS: TODO: remove in favour of PdfBufferOutputStream.
|
Construct a new PdfMemoryOutputStream
|
|
Construct a new PdfMemoryOutputStream that writes to an existing buffer
|
|
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. |
|
|
|
The caller has to free the returned malloc'ed buffer! |
|
Write data to the output stream
Implements PoDoFo::PdfOutputStream. |