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.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.ByteArrayInputStream
java.io.IOException
public void setBuf(byte[] buf)