#include <PdfOutputStream.h>
Public Member Functions | |
PdfFileOutputStream (const char *pszFilename) | |
virtual long | Write (const char *pBuffer, long lLen) |
virtual void | Close () |
An output stream that writes data to a file
PoDoFo::PdfFileOutputStream::PdfFileOutputStream | ( | const char * | pszFilename | ) |
Open a file for writing data
pszFilename | the filename of the file to read |
void PoDoFo::PdfFileOutputStream::Close | ( | ) | [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::PdfFileOutputStream::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.