@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() |
read
public 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 FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long n) throws IOException
skip
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public void mark(int readlimit)
mark
in class FilterInputStream
public void reset() throws IOException
reset
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
@DischargesObligation public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException
Copyright © 2018 SPF4J. All rights reserved.