[#BloombergLP-bdlbb-Blob-reserveBufferCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::reserveBufferCapacity
:relfileprefix: ../../../
:mrdocs:

Allocate capacity to store at least the specified `numBuffers` buffers&period;

== Synopsis

Declared in `&lt;bdlbb&lowbar;blob&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserveBufferCapacity(int numBuffers);
----

== Description

The behavior is undefined unless `0 &lt;&equals; numBuffers`&period; Note that this method does not change the length of this blob or add any buffers to it&period; Note also that the internal capacity will be increased to maintain a geometric growth factor&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *numBuffers*
| minimum number of buffer slots to reserve
|===


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