[#absl-CordBuffer-CreateWithDefaultLimit] = xref:absl.adoc[absl]::xref:absl/CordBuffer.adoc[CordBuffer]::CreateWithDefaultLimit :relfileprefix: ../../ :mrdocs: Creates a CordBuffer instance of the desired `capacity`, capped at the default limit `kDefaultLimit`. The returned buffer has a guaranteed capacity of at least `min(kDefaultLimit, capacity)`. See the class comments for more information on buffer capacities and intended usage. == Synopsis Declared in `<absl/strings/cord_buffer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:absl/CordBuffer.adoc[CordBuffer] CreateWithDefaultLimit(size_t capacity); ---- == Return Value A new CordBuffer with the requested capacity. == Parameters [cols="1,4"] |=== | Name| Description | *capacity* | The desired capacity, capped at `kDefaultLimit`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#