public interface RandomAccessRead extends SequentialRead
void seek(long position) throws java.io.IOException
position
- The position to seek to.java.io.IOException
- If there is an error while seeking.long length() throws java.io.IOException
java.io.IOException
- If there is an IO error while determining the
length of the data stream.