public class ByteInputStream extends ByteArrayInputStream
buf, count, mark, pos
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) |
available, mark, markSupported, read, read, reset, skip
read
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 IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class ByteArrayInputStream
IOException
public void setBuf(byte[] buf)
Copyright © 2021 JBoss by Red Hat. All rights reserved.