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, skipreadpublic 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 Closeableclose in interface AutoCloseableclose in class ByteArrayInputStreamIOExceptionpublic void setBuf(byte[] buf)
Copyright © 2005–2017 Oracle Corporation. All rights reserved.