public class ByteArrayInputStream extends InputStream
| Constructor and Description |
|---|
ByteArrayInputStream(Buffer buffer) |
ByteArrayInputStream(byte[] data) |
ByteArrayInputStream(byte[] data,
int offset,
int size) |
| 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(Buffer buffer)
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 © 2010–2025 FuseSource, Corp.. All rights reserved.