This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes BufferedInputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "BufferedInputStream" Watch "BufferedInputStream" New topic
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: BufferedInputStream
 
Similar Threads
Import Problem from K&B
Getting an index from a parser
Fastest way of calculating MD5
Reading a properties file using BufferdInputStream
FIFO implementation in Java