public class RandomAccessInputStream
extends java.io.InputStream
Constructor | Description |
---|---|
RandomAccessInputStream(RandomAccessRead randomAccessRead) |
Creates a new RandomAccessInputStream, with a position of zero.
|
Modifier and Type | Method | Description |
---|---|---|
int |
available() |
|
int |
read() |
|
int |
read(byte[] b,
int off,
int len) |
|
long |
skip(long n) |
public RandomAccessInputStream(RandomAccessRead randomAccessRead)
randomAccessRead
- The RandomAccessRead to read from.public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
Copyright © 2002–2018. All rights reserved.