commit | 321fb69c2a67f4c301a463b7dc99c7b395511fe1 | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Mon Sep 06 10:26:04 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Sep 18 00:35:32 2021 +0000 |
tree | 0e41f8f9bc11e015b41663d38cefa36e437c2871 | |
parent | 545d4974536994c391c77ee0e72b88aa3f0c1592 [diff] |
pw_protobuf: Adds a Message class for parsing Implement a `Message` class for processing common field types such as uint32, string, bytes, map<string, >, repeated and nested messages. The class works on top of protobuf::StreamDecoder. The purpose is to wrap low level details of StreamDecoder operations, and have an abstraction layer where proto messages and fields can be represented and handled like objects. This faciliates implementation of higher level functionalities that involves sophisticated processing logic on proto messages, such as update bundle verification. Bug: 456 Change-Id: I75c30e183c9df0e260f251f51363d3dc79d36703 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60780 Reviewed-by: Armando Montanez <amontanez@google.com> Reviewed-by: Ali Zhang <alizhang@google.com> Commit-Queue: Yecheng Zhao <zyecheng@google.com>
See our website: http://pigweed.dev