Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I start reading a file near the end, and not have to read all the bytes at the start too?

bytes file near read Reading
0
Posted

How can I start reading a file near the end, and not have to read all the bytes at the start too?

0

Location: http://www.jguru.com/faq/view.jsp?EID=142234 Created: Sep 5, 2000 Modified: 2000-09-05 08:25:32.422 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) Question originally posed by Jim Brady (http://www.jguru.com/guru/viewbio.jsp?EID=142177 The RandomAccessFile class allows you to seek() to a certain position in a file and read from any spot in the file. Unfortunately, the class isn’t part of the IO streams hierarchies, so you can’t do things like buffering.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.