• Post Reply Bookmark Topic Watch Topic
  • New Topic

How BufferedReader Works internally?

 
Md. Hasibuzzaman Chowdhury
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone , I have question that I am not getting a clear concept , Pleas help me to get the thing .

I know that BuffrredReader can speed up I/O quite a bit . But I want to clear about the thing , How it works internally with the input, so that it Improves the speed of I/O, means what is the mechanism of it ?

 
Campbell Ritchie
Marshal
Posts: 52589
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't actually need to know that, but…

Have you gone through the code? There is a file called src.zip in your standard Java® installation folder which will contain its code. I don't think the methods are native because the documentation doesn't say native, but one cannot be certain. You may find something useful in the Java™ Tutorials, too.
 
Tony Docherty
Saloon Keeper
Posts: 3142
72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a clue to how it works in this thread
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!