[#BloombergLP-bdlbb-PooledBlobBufferFactory-allocate]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/PooledBlobBufferFactory.adoc[PooledBlobBufferFactory]::allocate
:relfileprefix: ../../../
:mrdocs:

Allocate a new buffer with the buffer size specified at construction and load it into the specified `buffer`&period; Note that destruction of the `bdlbb&colon;&colon;PooledBlobBufferFactory` object releases all `BlobBuffer` objects allocated via this factory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
allocate(xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer]* buffer) override;
----


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