public class ByteArrayInputStream extends InputStream
| Constructor and Description |
|---|
ByteArrayInputStream(byte[] data) |
ByteArrayInputStream(byte[] data,
int offset,
int size) |
ByteArrayInputStream(ByteSequence sequence) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
mark(int markpos) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long len) |
closepublic ByteArrayInputStream(byte[] data)
public ByteArrayInputStream(ByteSequence sequence)
public ByteArrayInputStream(byte[] data, int offset, int size)
public int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b) throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len)
read in class InputStreampublic long skip(long len) throws IOException
skip in class InputStreamIOExceptionpublic int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int markpos)
mark in class InputStreampublic void reset()
reset in class InputStreamCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.