[#absl-CordBuffer-length]
= xref:absl.adoc[absl]::xref:absl/CordBuffer.adoc[CordBuffer]::length
:relfileprefix: ../../
:mrdocs:

Returns the length of this instance&period; The default length of a CordBuffer is 0, indicating an &apos;empty&apos; CordBuffer&period; Applications must specify the length of the data in a CordBuffer before adding it to a Cord&period;

== Synopsis

Declared in `&lt;absl&sol;strings&sol;cord&lowbar;buffer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
length() const;
----

== Return Value

The length of the initialized data&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
