Skip to main content

When using BufferedInputStream in Java...?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2013-11-23

One of the constructors is:

public BufferedInputStream(InputStream in, int size),

what is the default size and what is the UNIT of size ? Bits, bytes, charachters, ...?
Online fax

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2013-11-28

The default size in-case you don't provide one is 8192.
Unit: its a byte array.