public final class FastBufferedInputStream extends InputStream
InputStream that uses the enclosing instance's
InputStream its data source. This is not supposed to be a general purpose
implementation.| Constructor and Description |
|---|
FastBufferedInputStream(InputStream in,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
boolean |
markSupported()
InputStream.mark(int) is not supported. |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
close, mark, reset, skippublic FastBufferedInputStream(InputStream in, int bufferSize)
in - the input sourcebufferSize - size of the iobufferpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionInputStream.available()public boolean markSupported()
InputStream.mark(int) is not supported.markSupported in class InputStreamInputStream.markSupported()public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2009–2021. All rights reserved.