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

This class defines a base&hyphen;level protocol for a `BlobBuffer` factory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BlobBufferFactory;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlbb/BlobBufferFactory/2destructor.adoc[`&#126;BlobBufferFactory`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this blob buffer factory&period;
| xref:BloombergLP/bdlbb/BlobBufferFactory/allocate.adoc[`allocate`]  [.small]#[virtual]#
| Allocate a blob buffer from this blob buffer factory, and load it into the specified `buffer`&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlbb/PooledBlobBufferFactory.adoc[`PooledBlobBufferFactory`] 
| This class implements the `BlobBufferFactory` protocol and provides a mechanism for allocating `BlobBuffer` objects of a fixed size passed at construction&period;
| xref:BloombergLP/bdlbb/SimpleBlobBufferFactory.adoc[`SimpleBlobBufferFactory`] 
| This `class` declares an implementation of `BlobBufferFactory` where each segment loaded to a `BlobBuffer` is created with a separate calls to the allocator specified at construction, or the default allocator is no allocator was specified&period;
|===


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