[#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`. [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..._]# == Parameters [cols="1,4"] |=== | Name| Description | *data* | pointer to the binary data | *size* | size of the binary data |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#