Go to the documentation of this file. 1 #ifndef STORAGE_FACTORY_STORAGE_H
2 #define STORAGE_FACTORY_STORAGE_H
18 #define PREFETCH_PROBE_LENGTH 4096
45 virtual bool eof(
void)
const;
54 virtual void flush(
void);
55 virtual void close(
void);
58 #endif // STORAGE_FACTORY_STORAGE_H
virtual IOOffset size(void) const
virtual bool eof(void) const
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
virtual void resize(IOOffset size)=0
virtual void rewind(void)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual IOSize writev(const IOPosBuffer *from, IOSize buffers)
virtual IOOffset position(void) const
IOSize write(unsigned char byte)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
Storage & operator=(const Storage &)=delete