[#absl-CordBuffer-available_up_to]
= xref:absl.adoc[absl]::xref:absl/CordBuffer.adoc[CordBuffer]::available&lowbar;up&lowbar;to
:relfileprefix: ../../
:mrdocs:

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

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/Span.adoc[absl::Span&lt;char&gt;]
available&lowbar;up&lowbar;to(size&lowbar;t size);
----

== Return Value

The span of available capacity, limited to `size` bytes&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *size*
| The maximum size of the returned span&period;
|===


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