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.InputStreampublic int read(byte[] b,
int off,
int len)
read in class java.io.InputStreampublic long skip(long n)
skip in class java.io.InputStreampublic int available()
available in class java.io.InputStreampublic boolean markSupported()
markSupported in class java.io.InputStreampublic void mark(int readLimit)
mark in class java.io.InputStreampublic void reset()
reset in class java.io.InputStream