PoDoFo  1.0.0-dev
Public Member Functions | Friends | List of all members
PoDoFo::PdfMemoryObjectStream Class Referencefinal

A PDF stream can be appended to any PdfObject and can contain arbitrary data. More...

#include <PdfMemoryObjectStream.h>

Inherits PoDoFo::PdfObjectStreamProvider.

Public Member Functions

void Init (PdfObject &obj) override
 
void Clear () override
 
bool TryCopyFrom (const PdfObjectStreamProvider &rhs) override
 
bool TryMoveFrom (PdfObjectStreamProvider &&rhs) override
 
std::unique_ptr< InputStreamGetInputStream (PdfObject &obj) override
 
std::unique_ptr< OutputStreamGetOutputStream (PdfObject &obj) override
 
void Write (OutputStream &stream, const PdfStatefulEncrypt *encrypt) override
 
size_t GetLength () const override
 
const charbuffGetBuffer () const
 

Friends

class PdfObject
 
class PdfIndirectObjectList
 

Detailed Description

A PDF stream can be appended to any PdfObject and can contain arbitrary data.

A PDF memory stream is held completely in memory.

Most of the time it will contain either drawing commands to draw onto a page or binary data like a font or an image.

A PdfMemoryObjectStream is implicitly shared and can therefore be copied very quickly.


The documentation for this class was generated from the following files: