| Author |
BufferedInputStream
|
saravanan ragunathan
Ranch Hand
Joined: Aug 02, 2010
Posts: 84
|
|
i heard that when we use BufferedInputStream it will increase the performance
can anyone explain how this happen
|
"I Love Java Ranch"
|
 |
Wouter Oet
Saloon Keeper
Joined: Oct 25, 2008
Posts: 2700
|
|
A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.
From javadoc. Instead of many small reads it make a few big reads to fill a buffer and allow the client to read from the buffer.
|
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
|
 |
 |
|
|
subject: BufferedInputStream
|
|
|