public class ByteInputStream
extends java.io.ByteArrayInputStream
| Constructor and Description |
|---|
ByteInputStream() |
ByteInputStream(byte[] buf,
int length) |
ByteInputStream(byte[] buf,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
byte[] |
getBytes() |
int |
getCount() |
void |
setBuf(byte[] buf) |
public ByteInputStream()
public ByteInputStream(byte[] buf,
int length)
public ByteInputStream(byte[] buf,
int offset,
int length)
public byte[] getBytes()
public int getCount()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.ByteArrayInputStreamjava.io.IOExceptionpublic void setBuf(byte[] buf)