[#BloombergLP-bdld-DatumMaker-bin]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/DatumMaker.adoc[DatumMaker]::bin
:relfileprefix: ../../../
:mrdocs:

Return a binary `bdld&colon;&colon;Datum` that is a copy of the given memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdld/Datum.adoc[bdld::Datum]
bin(
    void const* pointer,
    std::size&lowbar;t size) const;
----

== Description

Return a binary `bdld&colon;&colon;Datum` having a value that is the copy of the memory area described by the specified `pointer` and `size`&period;

== Return Value

a binary `Datum` that is a copy of the given memory

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pointer*
| pointer to the first byte of the memory area
| *size*
| size of the memory area in bytes
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
