Re: [protobuf] Serializing part of a message and writing to disk

2011-03-08 Thread Evan Jones
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

[protobuf] Serializing part of a message and writing to disk

2011-03-07 Thread Linus
I have a "composite message", meaning Message C is composed of Message A and Message B. Message C { required Message A = 1; required Message B = 2; } This composite message C I have serialized to disk ( say output.dat). At a later stage in the code, the values of (say) Message A are change