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, skip
public BufferingInputStream(InputStream in, int bufferSize)
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] destBuf, int off, int len) throws IOException
read
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.