23 #ifndef OR_INTERNALS_IO_STREAMCLONE_H_ 24 #define OR_INTERNALS_IO_STREAMCLONE_H_ 27 #include <sys/types.h> 40 StreamClone(
const Stream::Ptr &clone, off_t offset);
46 virtual Error
open()
override;
47 virtual int close()
override;
48 virtual int seek(off_t offset,
int whence)
override;
49 virtual int read(
void *buf,
size_t count)
override;
50 virtual off_t filesize()
override;
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard. I guess it failed.
virtual int seek(off_t offset, int whence) override
cloned stream. Allow reading from a different offset
virtual int read(void *buf, size_t count) override
virtual int close() override
virtual Error open() override
base virtual class for IO