[#BloombergLP-bdlbb-Blob-2constructor-09] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::Blob :relfileprefix: ../../../ :mrdocs: Create a blob that initially holds the specified buffers. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Blob( xref:BloombergLP/bdlbb/BlobBuffer.adoc[BlobBuffer] const* buffers, int numBuffers, xref:BloombergLP/bdlbb/BlobBufferFactory.adoc[BlobBufferFactory]* factory, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- == Description Create a blob that initially holds the specified `numBuffers` buffers referenced by the specified `buffers`, and uses the specified `factory` to allocate blob buffers. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Parameters [cols="1,4"] |=== | Name| Description | *buffers* | array of blob buffers to hold initially | *numBuffers* | number of buffers in `buffers` | *factory* | factory used to allocate blob buffers | *basicAllocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#