After checking the offsets written to the header in the file and the 
offsets being read at (to what I seekg to), everything seems to match up 
100%. The offsets for the entries aren't suspicious either (so there is 
actual data being written there). Maybe I'm not doing something else 
properly (does creating a ZeroCopyInputStream or CodedInputStream somehow 
reset the underlying ifstream back to the start of the file)?

This is a head scratcher. I can paste some more coded if that is helpful to 

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to