#include <PdfOutputStream.h>
Public Member Functions | |
virtual long | Write (const char *pBuffer, long lLen)=0 |
long | Write (const std::string &s) |
virtual void | Close ()=0 |
virtual void PoDoFo::PdfOutputStream::Close | ( | ) | [pure 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.
Implemented in PoDoFo::PdfRC4OutputStream, PoDoFo::PdfFilteredEncodeStream, PoDoFo::PdfFilteredDecodeStream, PoDoFo::PdfFileOutputStream, PoDoFo::PdfMemoryOutputStream, PoDoFo::PdfDeviceOutputStream, and PoDoFo::PdfBufferOutputStream.
long PoDoFo::PdfOutputStream::Write | ( | const std::string & | s | ) | [inline] |
Helper that writes a string via Write(const char*,long)
virtual long PoDoFo::PdfOutputStream::Write | ( | const char * | pBuffer, | |
long | lLen | |||
) | [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::PdfRC4OutputStream, PoDoFo::PdfFilteredEncodeStream, PoDoFo::PdfFilteredDecodeStream, PoDoFo::PdfFileOutputStream, PoDoFo::PdfMemoryOutputStream, PoDoFo::PdfDeviceOutputStream, and PoDoFo::PdfBufferOutputStream.