public abstract class DynamicInputStream extends InputStream
| Constructor and Description |
|---|
DynamicInputStream(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
getAvailableCount() |
int |
push(byte[] other) |
int |
push(byte[] other,
int from,
int count) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
protected abstract boolean |
requestMore() |
close, mark, markSupported, read, reset, skippublic int getAvailableCount()
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic int push(byte[] other)
public int push(byte[] other,
int from,
int count)
protected abstract boolean requestMore()
throws IOException
IOExceptionCopyright © 2021 vpc open source initiative. All rights reserved.