commit | 5dab2b02e018ab5a439c94845ad869add1971c10 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Mon Jun 10 23:17:29 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 10 23:17:29 2024 +0000 |
tree | b83423d33a61fc43104ea5d9d09ddeed4ddec9a5 | |
parent | b6793d4757bc5355cc08ebcbd7831a4dfd98e988 [diff] |
pw_multibuf: Contiguous span functions Add functions for checking if a MultiBuf is contiguous and for accessing the data as a span if it is. Change-Id: I8a462fecfb0e143fd9b14bbb96cef2a979faa283 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/214859 Reviewed-by: Taylor Cramer <cramertj@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.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/.