public class ByteArrayInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buf
buf
|
protected int |
count
count
|
protected int |
mark
mark
|
protected int |
pos
pos
|
Constructor and Description |
---|
ByteArrayInputStream(byte[] abyte0)
ByteArrayInputStream
|
ByteArrayInputStream(byte[] abyte0,
int i,
int j) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
mark(int i) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] abyte0,
int i,
int j)
Read byte data until there is no more available.
|
void |
reset() |
long |
skip(long l) |
close, read
protected byte[] buf
protected int pos
protected int mark
protected int count
public ByteArrayInputStream(byte[] abyte0)
abyte0
- ?public ByteArrayInputStream(byte[] abyte0, int i, int j)
abyte0
- ?i
- ?j
- ?public int available()
available
in class InputStream
public void mark(int i)
mark
in class InputStream
i
- ?public boolean markSupported()
markSupported
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] abyte0, int i, int j)
InputStream
read
in class InputStream
abyte0
- ?i
- ?j
- ?public void reset()
reset
in class InputStream
public long skip(long l)
skip
in class InputStream
l
- ?