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