Store value at offset within destination and return it.

Synopsis

Declared in <bdld_datum.h>

template<class t_TYPE>
static
t_TYPE
store(
    void* destination,
    int offset,
    t_TYPE value);

Description

Store the specified typed value at the specified offset within the specified destination and return value.

Return Value

the stored value

Parameters

Name

Description

destination

buffer that receives the value

offset

byte offset within destination

value

typed value to store

Created with MrDocs