public class UnsyncByteArrayInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
protected byte[] |
myBuffer |
Constructor and Description |
---|
UnsyncByteArrayInputStream(byte[] buf) |
UnsyncByteArrayInputStream(byte[] buf,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
init(byte[] buf,
int offset,
int length) |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
public UnsyncByteArrayInputStream(byte[] buf)
public UnsyncByteArrayInputStream(byte[] buf, int offset, int length)
public void init(byte[] buf, int offset, int length)
public int read()
read
in class java.io.InputStream
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
public long skip(long n)
skip
in class java.io.InputStream
public int available()
available
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public void mark(int readLimit)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream