10 #ifndef SOFTBOOKLZSSSTREAM_H_INCLUDED 11 #define SOFTBOOKLZSSSTREAM_H_INCLUDED 15 #include <librevenge-stream/librevenge-stream.h> 51 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
52 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
54 bool isEnd()
override;
57 std::unique_ptr<librevenge::RVNGInputStream>
m_stream;
62 #endif // SOFTBOOKLZSSSTREAM_H_INCLUDED const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: SoftBookLZSSStream.cpp:228
const char * subStreamName(unsigned id) override
Definition: SoftBookLZSSStream.cpp:208
unsigned offsetBits
Definition: SoftBookLZSSStream.h:29
Configuration()
Definition: SoftBookLZSSStream.cpp:169
unsigned offset
Definition: SoftBookParser.cpp:74
long tell() override
Definition: SoftBookLZSSStream.cpp:238
RVNGInputStreamPtr_t stream
Definition: HTMLHelpStream.cpp:79
char fillChar
Definition: SoftBookLZSSStream.h:33
unsigned uncompressedLength
Definition: SoftBookLZSSStream.h:31
bool isStructured() override
Definition: SoftBookLZSSStream.cpp:198
SoftBookLZSSStream(const SoftBookLZSSStream &other)
bool existsSubStream(const char *name) override
Definition: SoftBookLZSSStream.cpp:213
Definition: SoftBookLZSSStream.h:20
const char * name
Definition: EBOOKHTMLToken.cpp:44
~SoftBookLZSSStream() override
Definition: SoftBookLZSSStream.cpp:194
unsigned lengthBits
Definition: SoftBookLZSSStream.h:30
unsigned subStreamCount() override
Definition: SoftBookLZSSStream.cpp:203
RVNGInputStream * getSubStreamById(unsigned id) override
Definition: SoftBookLZSSStream.cpp:223
bool bigEndian
Definition: SoftBookLZSSStream.h:35
Definition: BBeBCollector.cpp:18
SoftBookLZSSStream & operator=(const SoftBookLZSSStream &other)
unsigned fillPos
Definition: SoftBookLZSSStream.h:32
bool allowOverflow
Definition: SoftBookLZSSStream.h:34
Definition: SoftBookLZSSStream.h:27
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: SoftBookLZSSStream.cpp:233
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: SoftBookLZSSStream.cpp:218
bool isEnd() override
Definition: SoftBookLZSSStream.cpp:243
std::unique_ptr< librevenge::RVNGInputStream > m_stream
Definition: SoftBookLZSSStream.h:57