commit | f82d95b680c9b1953a61f21f499a599089f31e83 | [log] [tgz] |
---|---|---|
author | Armando Montanez <amontanez@google.com> | Thu Apr 08 12:00:09 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 05 00:41:46 2021 +0000 |
tree | 2dc82c2047c9e74ecf765c0114324963facca76d | |
parent | 9a53d6c97f65375bb8885b7a491fa803d979953f [diff] |
pw_stream: Allow staging data to MemoryWriter end Changes the memory writer to use std::memmove to allow data to be staged to the unused portion of a MemoryWriter's buffer before it is written. This is useful for operations that require direct access to a buffer to build data before it is flushed to a MemoryWriter. No-Docs-Update-Reason: Optimization that shouldn't be advertised Change-Id: I3728e50e30031d7f87db43981827ef799fbce217 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/40244 Reviewed-by: David Rogers <davidrogers@google.com> Commit-Queue: Armando Montanez <amontanez@google.com>
See our website: http://pigweed.dev