commit | 1cbc49a30ebaa721033b63a6760e7afc9581c7d2 | [log] [tgz] |
---|---|---|
author | Armando Montanez <amontanez@google.com> | Fri Nov 19 18:30:27 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 23 17:50:41 2021 +0000 |
tree | 98482eaacfc4f4425a25fe960417b3db2bc7c1b4 | |
parent | bcefd36f925ab6568c6892b62e3cdd5b9b450abd [diff] |
pw_string: Improve StringBuilder hex support Updates StringBuilder to format byte spans and byte arrays as hex strings, and changes the std::byte ToString() overload such that it will always emit full-width bytes (e.g. 04 instead of 4). Change-Id: Iba5b7b81d190e9953424abd24f639134095cbd46 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/70183 Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com> Reviewed-by: Wyatt Hepler <hepler@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/