public class SimpleByteArrayInputStream extends InputStream
Constructor and Description |
---|
SimpleByteArrayInputStream(byte[] buf,
int count)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
close, mark, markSupported, read, reset
public SimpleByteArrayInputStream(byte[] buf, int count)
buf
- is the byte buffercount
- is the size of the bufferpublic final int available()
available
in class InputStream
public final int read()
read
in class InputStream
public final int read(byte[] b, int off, int len)
read
in class InputStream
public final long skip(long n)
skip
in class InputStream