[#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 `&lt;bdld&lowbar;datumbinaryref&period;h&gt;`

Create a `DatumBinaryRef` object having zero data pointer and size&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/DatumBinaryRef/2constructor-04.adoc[DatumBinaryRef]();
----

[.small]#xref:BloombergLP/bdld/DatumBinaryRef/2constructor-04.adoc[_» more&period;&period;&period;_]#

Create a `DatumBinaryRef` object having the specified `data` and `size`&period;


[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&period;&period;&period;_]#

== 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]#
