On Mar 8, 2011, at 2:12 , Linus wrote:
At a later stage in the code, the values of (say) Message A are
changed by the user. Is there a way of modifying only Message A and
updating the file on disk, without loading the composite Message C
updating the Message A and flushing entire contents to disk again?
Not really: protocol buffers are a variable length encoding, so
changing Message A could change the length, so overwriting doesn't
really work, at least not without additional checks and effort.
You received this message because you are subscribed to the Google Groups "Protocol
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at