blob: 57bd5b0bc2b454e7b735c7e1c184e6b8eeb2ef47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package com.artifex.mupdf.fitz;
import java.io.IOException;
public interface SeekableStream
{
int SEEK_SET = 0; /* set file position to offset */
int SEEK_CUR = 1; /* set file position to current location plus offset */
int SEEK_END = 2; /* set file position to EOF plus offset */
long seek(long offset, int whence) throws IOException;
long position() throws IOException;
}
|