10#ifndef EBOOKMEMORYSTREAM_H_INCLUDED
11#define EBOOKMEMORYSTREAM_H_INCLUDED
15#include <librevenge-stream/librevenge-stream.h>
38 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
39 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
41 bool isEnd()
override;
44 std::unique_ptr<unsigned char[]>
m_data;
unsigned offset
Definition SoftBookParser.cpp:74
unsigned length
Definition SoftBookParser.cpp:73
Definition EBOOKMemoryStream.h:21
long m_pos
Definition EBOOKMemoryStream.h:46
const long m_length
Definition EBOOKMemoryStream.h:45
RVNGInputStream * getSubStreamById(unsigned id) override
Definition EBOOKMemoryStream.cpp:65
EBOOKMemoryStream()
Definition EBOOKMemoryStream.cpp:17
unsigned subStreamCount() override
Definition EBOOKMemoryStream.cpp:45
bool isEnd() override
Definition EBOOKMemoryStream.cpp:125
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition EBOOKMemoryStream.cpp:60
const char * subStreamName(unsigned id) override
Definition EBOOKMemoryStream.cpp:50
EBOOKMemoryStream(const EBOOKMemoryStream &other)
std::unique_ptr< unsigned char[]> m_data
Definition EBOOKMemoryStream.h:44
bool existsSubStream(const char *name) override
Definition EBOOKMemoryStream.cpp:55
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition EBOOKMemoryStream.cpp:91
EBOOKMemoryStream & operator=(const EBOOKMemoryStream &other)
long tell() override
Definition EBOOKMemoryStream.cpp:120
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition EBOOKMemoryStream.cpp:70
bool isStructured() override
Definition EBOOKMemoryStream.cpp:40
~EBOOKMemoryStream() override
Definition EBOOKMemoryStream.cpp:36
@ data
Definition EBOOKHTMLToken.h:187
@ name
Definition EBOOKHTMLToken.h:214
Definition BBeBCollector.cpp:19