BloombergLP::bdld::DatumMaker::bin

Return a binary bdld::Datum that is a copy of the given memory.

Synopsis

Declared in <bdld_datummaker.h>

bdld::Datum
bin(
    void const* pointer,
    std::size_t size) const;

Description

Return a binary bdld::Datum having a value that is the copy of the memory area described by the specified pointer and size.

Return Value

a binary Datum that is a copy of the given memory

Parameters

NameDescription
pointerpointer to the first byte of the memory area
sizesize of the memory area in bytes