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, readprotected 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 InputStreampublic void mark(int i)
mark in class InputStreami - ?public boolean markSupported()
markSupported in class InputStreampublic int read()
read in class InputStreampublic int read(byte[] abyte0,
int i,
int j)
InputStreamread in class InputStreamabyte0 - ?i - ?j - ?public void reset()
reset in class InputStreampublic long skip(long l)
skip in class InputStreaml - ?