commit | 354a698dbfffc0f8ae17c6e7a415450135c35db7 | [log] [tgz] |
---|---|---|
author | Scott James Remnant <keybuk@google.com> | Thu Mar 03 16:45:48 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 16 23:15:06 2022 +0000 |
tree | b08960095043f71f0a0ffe856571c8a1ada84f49 | |
parent | 5acf8dd562173d81a1fb608b2948d2bbdb3ec247 [diff] |
pw_protobuf: Generate a StreamDecoder class for messages This refactors the existing codegen to be able to generate both encoders and decoders, and starts by creating a simple StreamDecoder with member functions only for obtaining a typed StreamDecoder for child message types. Change-Id: Ib71207a1855a791c55cd4d6b4fe18a1d031fb5e7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/86402 Reviewed-by: Keir Mierle <keir@google.com> Reviewed-by: Alexei Frolov <frolv@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Scott James Remnant <keybuk@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/