summaryrefslogtreecommitdiffstats
path: root/include/qpdf/Buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/Buffer.hh')
-rw-r--r--include/qpdf/Buffer.hh10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/qpdf/Buffer.hh b/include/qpdf/Buffer.hh
index 36f673ce..bcc210c4 100644
--- a/include/qpdf/Buffer.hh
+++ b/include/qpdf/Buffer.hh
@@ -10,16 +10,24 @@
#include <qpdf/DLL.h>
-class DLL_EXPORT Buffer
+class Buffer
{
public:
+ DLL_EXPORT
Buffer();
+ DLL_EXPORT
Buffer(unsigned long size);
+ DLL_EXPORT
Buffer(Buffer const&);
+ DLL_EXPORT
Buffer& operator=(Buffer const&);
+ DLL_EXPORT
~Buffer();
+ DLL_EXPORT
unsigned long getSize() const;
+ DLL_EXPORT
unsigned char const* getBuffer() const;
+ DLL_EXPORT
unsigned char* getBuffer();
private: