• Post Reply Bookmark Topic Watch Topic
  • New Topic

reading delimited gzipped serialized objects  RSS feed

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
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!