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