[#BloombergLP-bdlma-BufferManager-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/BufferManager.adoc[BufferManager]::BufferManager :relfileprefix: ../../../ :mrdocs: Create a buffer manager for allocating memory blocks from the specified external `buffer` having the specified `bufferSize` (in bytes). Optionally specify an alignment `strategy` used to align allocated memory blocks. If `strategy` is not specified, natural alignment is used. The behavior is undefined unless `0 < bufferSize` and `buffer` has at least `bufferSize` bytes. == Synopsis Declared in `<bdlma_buffermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BufferManager( char* buffer, xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] bufferSize, xref:BloombergLP/bsls/Alignment/Strategy.adoc[bsls::Alignment::Strategy] strategy = bsls::Alignment::BSLS_NATURAL); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#