[#BloombergLP-bdld-DatumBinaryRef-2constructor-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumBinaryRef.adoc[DatumBinaryRef]::DatumBinaryRef :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdld_datumbinaryref.h>` Create a `DatumBinaryRef` object having zero data pointer and size. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumBinaryRef/2constructor-04.adoc[DatumBinaryRef](); ---- [.small]#xref:BloombergLP/bdld/DatumBinaryRef/2constructor-04.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdld/DatumBinaryRef/2constructor-0e.adoc[DatumBinaryRef]( void const* data, xref:BloombergLP/bdld/DatumBinaryRef/SizeType.adoc[SizeType] size); ---- [.small]#xref:BloombergLP/bdld/DatumBinaryRef/2constructor-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#