BloombergLP::bdlbb::PooledBlobBufferFactory::allocate

Allocate a new buffer with the buffer size specified at construction and load it into the specified buffer.

Synopsis

Declared in <bdlbb_pooledblobbufferfactory.h>

virtual
void
allocate(BlobBuffer* buffer) override;

Description

Note that destruction of the bdlbb::PooledBlobBufferFactory object releases all BlobBuffer objects allocated via this factory.

Parameters

NameDescription
bufferblob buffer to receive the newly allocated buffer