• Post Reply Bookmark Topic Watch Topic
  • New Topic

buffering or wrapping RandomAccessFile

 
shield kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can we wrap RandomAccessFile around some other I/O class ? OR
can we use BufferedInputStream or BufferedReader with RandomAccessFile ?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the point? You want to buffer the streams? Use a byte block as buffer the usual way.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
 
shield kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bauke Scholtz wrote:What's the point? You want to buffer the streams? Use a byte block as buffer the usual way.


I meant to say , as we use bufferedreader or bufferedInputstream with FileInputStream or fileReader can we them with RandomaccessFile also

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!