absl::Cord::Flatten

Flattens the cord into a single array and returns a view of the data.

Synopsis

Declared in <absl/strings/cord.h>

std::string_view
Flatten();

Description

If the cord was already flat, the contents are not modified.

Return Value

A view of the flattened data.