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
IOException
public SimpleBufferedRandomAccessInputStream(RandomAccessFile in, int bufsize) throws IOException
IOException
public final int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
public void seek(long pos) throws IOException
IOException
public long getFilePointer()
public final int readInt() throws IOException
IOException
public final long readLong() throws IOException
IOException
public int readIntArray(int[] a) throws IOException
IOException
public int readLongArray(long[] a) throws IOException
IOException