[#BloombergLP-bdlma-BufferManager-allocateRaw] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/BufferManager.adoc[BufferManager]::allocateRaw :relfileprefix: ../../../ :mrdocs: Return a contiguous block of memory of the specified `size` (in bytes). == Synopsis Declared in `<bdlma_buffermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* allocateRaw(xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] size); ---- == Description Return the address of a contiguous block of memory of the specified `size` (in bytes) according to the alignment strategy specified at construction. The behavior is undefined unless the allocation request does not exceed the remaining free memory space in the external buffer, `0 < size`, and this object is currently managing a buffer. == Return Value address of a contiguous block of `size` bytes == Parameters [cols="1,4"] |=== | Name| Description | *size* | number of bytes to allocate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#