[#BloombergLP-bdld-Datum_Helpers-store]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdld.adoc[bdld]::xref:BloombergLP/bdld/Datum_Helpers.adoc[Datum&lowbar;Helpers]::store
:relfileprefix: ../../../
:mrdocs:

Store `value` at `offset` within `destination` and return it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
static
t&lowbar;TYPE
store(
    void* destination,
    int offset,
    t&lowbar;TYPE value);
----

== Description

Store the specified typed `value` at the specified `offset` within the specified `destination` and return `value`&period;

== Return Value

the stored `value`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *destination*
| buffer that receives the value
| *offset*
| byte offset within `destination`
| *value*
| typed value to store
|===


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