Returns a non‐null reference to the data managed by this instance.

Synopsis

Declared in <absl/strings/cord_buffer.h>

char*
data();

Description

Applications are allowed to write up to capacity bytes of instance data. CordBuffer data is uninitialized by default. Reading data from an instance that has not yet been initialized will lead to undefined behavior.

Return Value

A pointer to the managed data.

Created with MrDocs