Java java.io BufferedInputStream fields, constructors, methods, implement or subclass

Example usage for Java java.io BufferedInputStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.io BufferedInputStream.

The text is from its open source code.

Subclass

java.io.BufferedInputStream has subclasses.
Click this link to see all its subclasses.

Constructor

BufferedInputStream(InputStream in)
Creates a BufferedInputStream and saves its argument, the input stream in, for later use.
BufferedInputStream(InputStream in, int size)
Creates a BufferedInputStream with the specified buffer size, and saves its argument, the input stream in, for later use.

Method

intavailable()
Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next invocation of a method for this input stream.
voidclose()
Closes this input stream and releases any system resources associated with the stream.
voidmark(int readlimit)
See the general contract of the mark method of InputStream.
booleanmarkSupported()
Tests if this input stream supports the mark and reset methods.
intread()
See the general contract of the read method of InputStream.
intread(byte b[], int off, int len)
Reads bytes from this byte-input stream into the specified byte array, starting at the given offset.
intread(byte b[])
Reads up to b.length bytes of data from this input stream into an array of bytes.
voidreset()
See the general contract of the reset method of InputStream.
longskip(long n)
See the general contract of the skip method of InputStream.
StringtoString()
Returns a string representation of the object.