commit | f02e284556b28c8c601347a61a9c138d5c21843e | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Mar 06 20:56:59 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 06 20:56:59 2023 +0000 |
tree | b4fba4e6ffd2858e934da61a7c5b725baa508b4b | |
parent | ed3638cbd17518d28ca72dfba9992c511d4bc288 [diff] |
pw_tokenizer: Encoding buffer sizing helper pw::tokenizer::MinEncodingBufferSizeBytes() calculates the minimum buffer size guaranteed to be able to encode a tokenized message with the specified arguments. Change-Id: I72ed3f5e31d8c707ec4500357d4b684a5c210024 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107393 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Alexei Frolov <frolv@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/.