24 #ifndef _RAWCONTAINER_H_
25 #define _RAWCONTAINER_H_
27 #include <sys/types.h>
29 #include <libopenraw/io.h>
30 #include <libopenraw/types.h>
72 bool readInt8(IO::Stream *f, int8_t & v);
73 bool readUInt8(IO::Stream *f, uint8_t & v);
75 bool readInt16(IO::Stream *f, int16_t & v);
77 bool readInt32(IO::Stream *f, int32_t & v);
89 size_t fetchData(
void *buf,
const off_t offset,
const size_t buf_size);