commit | 51f2b920def14dfd7762d62a4e9a090176cbd2f0 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Fri Jan 28 15:21:26 2022 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 29 01:24:08 2022 +0000 |
tree | d2e32f64b82e36c64dd34bebf0496aec8437d359 | |
parent | ba5edd102ddd53f2e95da8b673bf14bdd72dc012 [diff] |
pw_protobuf: SizeOfDelimitedFieldWithoutValue function SizeOfDelimitedFieldWithoutValue() calculates the size of a delimited field tag and length, without counting the bytes required for the data itself. Change-Id: I6f1d679f47d66627e39a8c4a6a9d50c80ce88e69 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/82080 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.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/