[#BloombergLP-bdlbb-Blob-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::xref:BloombergLP/bdlbb/Blob.adoc[Blob]::Blob
:relfileprefix: ../../../
:mrdocs:

Create a blob that holds the same buffers as `original`, with no factory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Blob(
    xref:BloombergLP/bdlbb/Blob.adoc[Blob] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Description

Create a blob that holds the same buffers as the specified `original` blob, and has no factory to allocate blob buffers&period; Since there is no factory, the behavior is undefined if the length of the blob is set beyond the total size&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| blob whose buffers are shared
| *basicAllocator*
| allocator used to supply memory
|===


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