Create a factory that produces blob buffers of the specified size.
Declared in <bdlbb_simpleblobbufferfactory.h>
explicit
SimpleBlobBufferFactory(
int bufferSize,
bslma::Allocator* basicAllocator = 0);
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.
| Name | Description |
|---|---|
| bufferSize | length of each blob buffer created by this factory |
| basicAllocator | memory allocator; null uses the default |