34 #ifndef MWAW_INPUT_STREAM_H
35 #define MWAW_INPUT_STREAM_H
40 #include <libwpd/libwpd.h>
41 #include <libwpd-stream/libwpd-stream.h>
78 shared_ptr<WPXInputStream>
input() {
82 static shared_ptr<MWAWInputStream>
get(WPXBinaryData
const &data,
bool inverted);
100 int seek(
long offset, WPX_SEEK_TYPE seekType);
109 if (pos < 0)
return false;
142 bool readDouble(
double &res,
bool &isNotANumber);
147 const uint8_t *
read(
size_t numBytes,
unsigned long &numBytesRead);
151 static unsigned long readULong(WPXInputStream *stream,
int num,
unsigned long a,
bool inverseRead);
205 static uint8_t
readU8(WPXInputStream *stream);
218 shared_ptr<WPXInputStream> &dataInput,
219 shared_ptr<WPXInputStream> &rsrcInput)
const;
261 const unsigned char *
read(
unsigned long numBytes,
unsigned long &numBytesRead);
270 int seek(
long offset, WPX_SEEK_TYPE seekType);