public class SimpleBufferedRandomAccessInputStream extends InputStream
| Constructor and Description |
|---|
SimpleBufferedRandomAccessInputStream(RandomAccessFile in) |
SimpleBufferedRandomAccessInputStream(RandomAccessFile in,
int bufsize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getFilePointer() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
int |
readInt() |
int |
readIntArray(int[] a) |
long |
readLong() |
int |
readLongArray(long[] a) |
void |
seek(long pos) |
public SimpleBufferedRandomAccessInputStream(RandomAccessFile in) throws IOException
IOExceptionpublic SimpleBufferedRandomAccessInputStream(RandomAccessFile in, int bufsize) throws IOException
IOExceptionpublic final int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void seek(long pos)
throws IOException
IOExceptionpublic long getFilePointer()
public final int readInt()
throws IOException
IOExceptionpublic final long readLong()
throws IOException
IOExceptionpublic int readIntArray(int[] a)
throws IOException
IOExceptionpublic int readLongArray(long[] a)
throws IOException
IOException