[#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`. Note that destruction of the `bdlbb::PooledBlobBufferFactory` object releases all `BlobBuffer` objects allocated via this factory. == Synopsis Declared in `<bdlbb_pooledblobbufferfactory.h>` [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]#