diff options
Diffstat (limited to 'package/source/zipapi/MemoryByteGrabber.hxx')
-rw-r--r-- | package/source/zipapi/MemoryByteGrabber.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/source/zipapi/MemoryByteGrabber.hxx b/package/source/zipapi/MemoryByteGrabber.hxx index dd876d66ebfa..f9076067cd91 100644 --- a/package/source/zipapi/MemoryByteGrabber.hxx +++ b/package/source/zipapi/MemoryByteGrabber.hxx @@ -32,6 +32,12 @@ public: , mnEnd ( rBuffer.getLength() ) { } + MemoryByteGrabber ( const sal_Int8* pBuffer, sal_Int32 nBufLen ) + : mpBuffer ( pBuffer ) + , mnCurrent ( 0 ) + , mnEnd ( nBufLen ) + { + } MemoryByteGrabber(css::uno::Sequence<sal_Int8> &&) = delete; const sal_Int8 * getCurrentPos () const { return mpBuffer + mnCurrent; } |