![]() |
PDFix SDK
6.19.0
|
PsMemoryStream class. More...
#include <pdfix.h>
Public Member Functions | |
| virtual bool | Resize (int size)=0 |
| Expands the current size of a memory stream. More... | |
Public Member Functions inherited from PsStream | |
| virtual void | Destroy ()=0 |
| Destroys PsStream resources. More... | |
| virtual bool | IsEof () const =0 |
| Checks if the current position is end of stream. More... | |
| virtual int | GetSize () const =0 |
| Gets the current size of a stream. More... | |
| virtual bool | Read (int offset, uint8_t *buffer, int size) const =0 |
| Reads data from PsStream into memory. More... | |
| virtual bool | Write (int offset, const uint8_t *buffer, int size)=0 |
| Writes data from a memory buffer into a stream, beginning at the offset position. More... | |
| virtual int | GetPos () const =0 |
| virtual bool | Flush () const =0 |
| virtual void * | GetStream () const =0 |
| virtual PdfStreamType | GetType () const =0 |
| Gets the type of a stream. More... | |
PsMemoryStream class.
|
pure virtual |
Expands the current size of a memory stream.
| size | A new size of the stream. |