absl::CordBuffer::length

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

Synopsis

Declared in <absl/strings/cord_buffer.h>

size_t
length() const;

Return Value

The length of the initialized data.