@CleanupObligation public final class BufferedInputStream extends FilterInputStream
in| Constructor and Description |
|---|
BufferedInputStream(InputStream in) |
BufferedInputStream(InputStream in,
int size) |
BufferedInputStream(InputStream in,
int size,
SizedRecyclingSupplier<byte[]> bufferProvider) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
String |
toString() |
readpublic BufferedInputStream(InputStream in)
public BufferedInputStream(InputStream in, int size)
public BufferedInputStream(InputStream in, int size, SizedRecyclingSupplier<byte[]> bufferProvider)
public int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionpublic int available()
throws IOException
available in class FilterInputStreamIOExceptionpublic void mark(int readlimit)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic boolean markSupported()
markSupported in class FilterInputStream@DischargesObligation
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOExceptionCopyright © 2018 SPF4J. All rights reserved.