[#BloombergLP-bdlma-MemoryBlockDescriptor-setAddressAndSize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/MemoryBlockDescriptor.adoc[MemoryBlockDescriptor]::setAddressAndSize :relfileprefix: ../../../ :mrdocs: Set the address and size of the memory block described by this object to the specified `address` and `size`. The behavior is undefined if `address' is 0 but `size` is not also 0. == Synopsis Declared in `<bdlma_memoryblockdescriptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setAddressAndSize( void* address, xref:BloombergLP/bdlma/MemoryBlockDescriptor/size_type.adoc[size_type] size); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#