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
Name |
Description |
buffers |
array of blob buffers to hold initially |
numBuffers |
number of buffers in |
factory |
factory used to allocate blob buffers |
basicAllocator |
allocator used to supply memory |
Created with MrDocs