Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading delimited gzipped serialized objects

Dave Brown
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Hoping someone might help me get my head around the reading of a data file.

the strucutre of file begins with a 100 byte header. after that there is a 0L delimter (8 bytes of 0) followed by a set of gzipped/serialised objects followed by the delimiter, then again followed by more gzipped/serialised objects and a delimiter at the end...

I've got the header reading in ok using fileinputstream but its the skipping over delimiter reading up to the next delimiter whilst unzipping/deserialising which is confusing me...

Any help appreciated, thankyou
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic