BloombergLP::bdlbb::Blob::Blob

Create a blob that initially holds the specified buffers.

Synopsis

Declared in <bdlbb_blob.h>

Blob(
    BlobBuffer const* buffers,
    int numBuffers,
    BlobBufferFactory* factory,
    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

NameDescription
buffersarray of blob buffers to hold initially
numBuffersnumber of buffers in buffers
factoryfactory used to allocate blob buffers
basicAllocatorallocator used to supply memory