[#BloombergLP-bdld-DatumBinaryRef-2constructor-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumBinaryRef.adoc[DatumBinaryRef]::DatumBinaryRef :relfileprefix: ../../../ :mrdocs: Create a `DatumBinaryRef` object having the specified `data` and `size`. The behavior is undefined unless `0 != data || 0 == size`. Note that the memory pointed by `data` is never accessed by a `DatumBinaryRef` object. == Synopsis Declared in `<bdld_datumbinaryref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- DatumBinaryRef( void const* data, xref:BloombergLP/bdld/DatumBinaryRef/SizeType.adoc[SizeType] size); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#