Create a factory that produces blob buffers of the specified size.
Synopsis
Declared in <bdlbb_simpleblobbufferfactory.h>
explicit
SimpleBlobBufferFactory(
int bufferSize,
bslma::Allocator* basicAllocator = 0);
Description
Create a SimpleBlobBufferFactory object that will create blob buffers of specified length bufferSize. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
Parameters
Name |
Description |
bufferSize |
length of each blob buffer created by this factory |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs