[#absl-CopyCordToSpan] = xref:absl.adoc[absl]::CopyCordToSpan :relfileprefix: ../ :mrdocs: Copies up to `dst.size()` bytes starting from the beginning of `src` to `dst`. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] size_t CopyCordToSpan( xref:absl/Cord.adoc[Cord] const& src, xref:absl/Span.adoc[absl::Span<char>] dst); ---- == Return Value The number of bytes copied. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *src* | The Cord to copy from. | *dst* | The span that receives the copied bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#