5 using namespace edm::storage;
90 return n == 0 ? -1 : byte;
155 if ((status =
read(into[
i])) == 0)
220 while (done < n && (x =
read((
char *)into + done, n - done)))
261 done += (x =
xread(into[
i]));
262 if (x < into[i].
size())
384 if (x < from[
i].
size())
456 done +=
write((
const char *)from + done, n - done);
513 self->position(0,
END);
515 self->position(here);
virtual IOSize readv(IOBuffer *into, IOSize buffers)
virtual IOOffset size() const
IOSize xreadv(IOBuffer *into, IOSize buffers)
IOSize xwritev(const IOBuffer *from, IOSize buffers)
virtual IOOffset position() const
virtual IOSize writev(const IOBuffer *from, IOSize buffers)
IOSize write(unsigned char byte)
char data[epos_bytes_allocation]
IOSize xread(IOBuffer into)
IOSize xwrite(const void *from, IOSize n)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)