BufferedInputStream.BufferedInputStream

BufferedInputStream.BufferedInputStream

Class Overview | Class Members | This Package | All Packages

Syntax 1
public BufferedInputStream( InputStream in )
Parameters
in
the underlying input stream.
Description
Creates a new buffered input stream to read data from the specified input stream with a default 512-byte buffer size.



Syntax 2
public BufferedInputStream( InputStream in, int size )
Parameters
in
the underlying input stream.
size
the buffer size.
Description
Creates a new buffered input stream to read data from the specified input stream with the specified buffer size.