Go to the documentation of this file.
10 #ifndef EBOOKUTF8STREAM_H_INCLUDED
11 #define EBOOKUTF8STREAM_H_INCLUDED
15 #include <librevenge/librevenge.h>
20 class EBOOKCharsetConverter;
35 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead)
override;
36 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType)
override;
38 bool isEnd()
override;
41 std::unique_ptr<librevenge::RVNGInputStream>
m_stream;
46 #endif // EBOOKUTF8STREAM_H_INCLUDED
bool guessEncoding(const char *in, unsigned length)
Definition: EBOOKCharsetConverter.cpp:91
Definition: EBOOKCharsetConverter.h:21
~EBOOKUTF8Stream() override
Definition: EBOOKUTF8Stream.cpp:75
bool existsSubStream(const char *name) override
Definition: EBOOKUTF8Stream.cpp:94
EBOOKUTF8Stream(librevenge::RVNGInputStream *strm, EBOOKCharsetConverter *converter=nullptr)
Definition: EBOOKUTF8Stream.cpp:33
std::unique_ptr< librevenge::RVNGInputStream > m_stream
Definition: PeanutPressParser.cpp:74
Definition: EBOOKUTF8Stream.h:22
Definition: BBeBCollector.cpp:18
RVNGInputStream * getSubStreamById(unsigned id) override
Definition: EBOOKUTF8Stream.cpp:104
const unsigned char * read(unsigned long numBytes, unsigned long &numBytesRead) override
Definition: EBOOKUTF8Stream.cpp:110
Definition: EBOOKMemoryStream.h:20
std::unique_ptr< librevenge::RVNGInputStream > m_stream
Definition: EBOOKUTF8Stream.h:41
int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override
Definition: EBOOKUTF8Stream.cpp:115
unsigned offset
Definition: SoftBookParser.cpp:74
unsigned subStreamCount() override
Definition: EBOOKUTF8Stream.cpp:84
bool isStructured() override
Definition: EBOOKUTF8Stream.cpp:79
MSPackFileData * data
Definition: HTMLHelpStream.cpp:63
bool convertBytes(const char *in, unsigned length, std::vector< char > &out)
Definition: EBOOKCharsetConverter.cpp:109
const char * subStreamName(unsigned id) override
Definition: EBOOKUTF8Stream.cpp:89
string name
Definition: HTMLHelpStream.cpp:80
const unsigned char * readNBytes(librevenge::RVNGInputStream *const input, const unsigned long numBytes)
Definition: libebook_utils.cpp:105
librevenge::RVNGInputStream * getSubStreamByName(const char *name) override
Definition: EBOOKUTF8Stream.cpp:99
long tell() override
Definition: EBOOKUTF8Stream.cpp:120
bool isEnd() override
Definition: EBOOKUTF8Stream.cpp:125
Definition: EBOOKHTMLToken.h:125
Generated for libe-book by
doxygen 1.8.16