Load the specified result with a reference to a newly created character buffer of the specified length, using the specified allocator to supply memory, and return the address of this buffer. The behavior is undefined unless length <= UINT_MAX. Note that the caller is responsible for initializing the returned buffer with a UTF‐8 encoded string.

Synopsis

Declared in <bdld_datum.h>

static
char*
createUninitializedString(
    Datum* result,
    SizeType length,
    AllocatorType const& allocator);

Created with MrDocs