[#absl-CordBuffer-MaximumPayload-086]
= xref:absl.adoc[absl]::xref:absl/CordBuffer.adoc[CordBuffer]::MaximumPayload
:relfileprefix: ../../
:mrdocs:

Overload to the above `MaximumPayload()` except that it returns the maximum payload for a CordBuffer returned by the `CreateWithCustomLimit()` method given the provided `block&lowbar;size`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
static
size&lowbar;t
MaximumPayload(size&lowbar;t block&lowbar;size);
----

== Return Value

The maximum payload for the given block size&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;size*
| The block size of the custom&hyphen;limit CordBuffer&period;
|===


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