commit | a8a1dbd62fb2b7badd7fc08c593fb1895776ae46 | [log] [tgz] |
---|---|---|
author | Scott James Remnant <keybuk@google.com> | Wed Mar 23 17:28:18 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Mar 26 01:03:45 2022 +0000 |
tree | bfe429b9b9a54832b796db536b10decd2e7f3497 | |
parent | 5c95ca3998e63248eb7d1c218844362bb5be9d99 [diff] |
pw_protobuf: Support encoding from pw::Vector Extend StreamEncoder (and MemoryEncoder) to have WriteRepeatedInt32 etc. methods that mirror the equivalent ReadRepeatedInt32 etc. methods on StreamDecoder. Likewise extend encoder codegen to have a WriteFoo override that accepts a vector. Change-Id: I09d374dfa60e36feea8bb3b9f6d5fb701eb7c9b4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/88963 Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Scott James Remnant <keybuk@google.com> Pigweed-Auto-Submit: 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/