1 #ifndef STORAGE_FACTORY_STORAGE_H 2 # define STORAGE_FACTORY_STORAGE_H 18 # define PREFETCH_PROBE_LENGTH 4096 41 virtual bool eof (
void)
const;
46 virtual void rewind (
void);
50 virtual void flush (
void);
51 virtual void close (
void);
59 #endif // STORAGE_FACTORY_STORAGE_H
IOSize write(unsigned char byte)
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
Storage & operator=(const Storage &)
virtual void resize(IOOffset size)=0
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
virtual IOOffset size(void) const
virtual bool eof(void) const
virtual void rewind(void)
virtual IOSize writev(const IOPosBuffer *from, IOSize buffers)