Searched refs:devOffset (Results 1 – 3 of 3) sorted by relevance
116 public void read(long devOffset, ByteBuffer dest) throws IOException { in read() argument119 if (devOffset > getSize()){ in read()121 sb.append("read at ").append(devOffset); in read()127 data.limit((int) (devOffset + dest.remaining())); in read()128 data.position((int) devOffset); in read()134 public void write(long devOffset, ByteBuffer src) throws IOException { in write() argument137 if (devOffset + src.remaining() > getSize()) throw new in write()139 "offset=" + devOffset + in write()143 data.limit((int) (devOffset + src.remaining())); in write()144 data.position((int) devOffset); in write()
110 public void read(long devOffset, ByteBuffer dest) throws IOException { in read() argument114 if ((devOffset + toRead) > getSize()) throw new IOException( in read()118 final int read = fc.read(dest, devOffset); in read()121 devOffset += read; in read()126 public void write(long devOffset, ByteBuffer src) throws IOException { in write() argument133 if ((devOffset + toWrite) > getSize()) throw new IOException( in write()137 final int written = fc.write(src, devOffset); in write()140 devOffset += written; in write()
48 public abstract void read(long devOffset, ByteBuffer dest) in read() argument62 public abstract void write(long devOffset, ByteBuffer src) in write() argument