Hi everyone! I am accesing a file, using InputStream, wrapping it in DataInputStream and BufferedReader. I need to make a mark in the file using "mark(int readAhead)" method, and I know I only can call "reset()" before reaching "readAhead" bytes.
But if I do not know the bytes I am going to read before calling "reset()".... What can I do?
Thank you very much!