• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to read a file which contains more than 1 EOF characters  RSS feed

 
BAPPA BAPPA
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

While writing 10 objects (serialization)into a GZIP file I have closed the strweam everytime and open for every writing. Consequently when reading it reads the 1st object and encounters 1 eof which in turn throws EOFException. How can I read such files upto end? Help me in solving this problem
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!