[#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`&period; The behavior is undefined unless `0 !&equals; data &verbar;&verbar; 0 &equals;&equals; size`&period; Note that the memory pointed by `data` is never accessed by a `DatumBinaryRef` object&period;

== Synopsis

Declared in `&lt;bdld&lowbar;datumbinaryref&period;h&gt;`

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