BloombergLP::bdld::Datum::createUninitializedBinary

Load the specified result with a reference to a newly created binary buffer of the specified size, using the specified allocator to supply memory, and return the address of this buffer. The behavior is undefined unless size <= UINT_MAX. Note that the caller is responsible for initializing the returned buffer with binary data.

Synopsis

Declared in <bdld_datum.h>

static
void*
createUninitializedBinary(
    Datum* result,
    SizeType size,
    AllocatorType const& allocator);