public class BufferingInputStream extends InputStream
InputStream implementation with a configurable buffer.| Constructor and Description |
|---|
BufferingInputStream(InputStream in,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
int |
read(byte[] destBuf,
int off,
int len) |
available, mark, markSupported, read, reset, skippublic BufferingInputStream(InputStream in, int bufferSize)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] destBuf,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.