public interface Read
Modifier and Type | Method and Description |
---|---|
void |
readInto(java.nio.ByteBuffer buffer,
long position)
Read from the underlying store(file) into the buffer starting at the given position in the store.
|
void readInto(java.nio.ByteBuffer buffer, long position) throws java.io.IOException
buffer.remaining()
amount of data or throws an exception.buffer
- The buffer into which the read needs to write toposition
- The position to start the read fromjava.io.IOException