pw_{hdlc,log,log_rpc,span}: Return pointer instead of iterator
Replace begin() with data() where applicable for span.
Bug: b/239856986
Change-Id: I7d521606272c64e9ed145b2836838381faaa048d
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/111591
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Prabhu Karthikeyan Rajasekaran <prabhukr@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/.