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

Name

Description

pointer

pointer to the first byte of the memory area

size

size of the memory area in bytes

Created with MrDocs