Copies up to dst.size() bytes starting from the beginning of src to dst.
Declared in <absl/strings/cord.h>
[[nodiscard]]
size_t
CopyCordToSpan(
Cord const& src,
absl::Span<char> dst);
| Name | Description |
|---|---|
| src | The Cord to copy from. |
| dst | The span that receives the copied bytes. |