public class ByteArrayInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
protected java.util.List<DataBuffer> |
bufs |
protected int |
currentBufferIndex |
Constructor and Description |
---|
ByteArrayInputStream(java.util.List<DataBuffer> buffers,
int len) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
protected java.util.List<DataBuffer> bufs
protected int currentBufferIndex
public ByteArrayInputStream(java.util.List<DataBuffer> buffers, int len)
public int read()
read
in class java.io.InputStream
public int read(byte[] b, int off, int len)
read
in class java.io.InputStream
public long skip(long n)
skip
in class java.io.InputStream
public int available()
available
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public void mark(int readAheadLimit)
mark
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException