|
pdfmm 0.9.20
|
Public Member Functions | |
| PdfFilteredEncodeStream (PdfOutputStream &outputStream, const PdfFilterType filterType, bool ownStream) | |
| void | WriteImpl (const char *buffer, size_t len) override |
| void | Close () override |
Public Member Functions inherited from mm::PdfOutputStream | |
| void | Write (const char *buffer, size_t len) |
| void | Write (const std::string_view &view) |
| virtual void | Close ()=0 |
Create a filter that is a PdfOutputStream.
All data written to this stream is encoded using a filter and written to another PdfOutputStream.
The passed output stream is owned by this PdfOutputStream and deleted along with it.
|
inline |
Create a filtered output stream.
All data written to this stream is encoded using the passed filter type and written to the passed output stream which will be deleted by this PdfFilteredEncodeStream.
| outputStream | write all data to this output stream after encoding the data. |
| filterType | use this filter for encoding. |
| ownStream | if true outputStream will be deleted along with this filter |
|
inlineoverridevirtual |
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 mm::PdfOutputStream.
|
inlineoverridevirtual |
Write data to the output stream
| buffer | the data is read from this buffer |
| len | the size of the buffer |
Implements mm::PdfOutputStream.