BloombergLP::bdlbb::Blob::Blob

Create an empty blob using the specified factory to allocate buffers.

Synopsis

Declared in <bdlbb_blob.h>

explicit
Blob(
    BlobBufferFactory* factory,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
factoryfactory used to allocate blob buffers
basicAllocatorallocator used to supply memory