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;
cloned stream. Allow reading from a different offset
virtual int read(void *buf, size_t count) override
virtual Error open() override
CIFF is the container for CRW files. It is an attempt from Canon to make this a standard....
base virtual class for IO
virtual int seek(off_t offset, int whence) override
virtual int close() override