Comment #1 on issue 588 by Petteri.Aimonen: Add delta mechanism to the encoding

You can implement this yourself in your application:

1) In the .proto, declare all fields as optional.

2) On the encoder side, reset the message after every encoding. Then it will only contain those optional fields that you have set after the previous message.

3) On the decoder side, instead of ParseFromString(), use MergeFromString(). This way the decoder will update those fields that are in the message, while rest of them will retain their old value.

You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:

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