Returns the span delineating the available capacity in this buffer limited to size bytes. This is equivalent to available().subspan(0, size).

Synopsis

Declared in <absl/strings/cord_buffer.h>

absl::Span<char>
available_up_to(size_t size);

Return Value

The span of available capacity, limited to size bytes.

Parameters

Name

Description

size

The maximum size of the returned span.

Created with MrDocs