public class ByteArrayInputStream extends InputStream
Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
buf |
|
protected int |
count |
|
protected int |
mark |
|
protected int |
pos |
Constructor | Description |
---|---|
ByteArrayInputStream(byte[] var0) |
|
ByteArrayInputStream(byte[] var0,
int var1,
int var2) |
Modifier and Type | Method | Description |
---|---|---|
int |
available() |
|
int |
read() |
|
int |
read(byte[] var0,
int var1,
int var2) |
|
void |
reset() |
|
long |
skip(long var0) |
close, mark, markSupported, read
protected byte[] buf
protected int count
protected int mark
protected int pos
public ByteArrayInputStream(byte[] var0)
public ByteArrayInputStream(byte[] var0, int var1, int var2)
public int available()
available
in class InputStream
public int read()
read
in class InputStream
public int read(byte[] var0, int var1, int var2)
read
in class InputStream
public void reset()
reset
in class InputStream
public long skip(long var0)
skip
in class InputStream