Allocates memory for a byte array
[C++]
static void* Alloc(
size_t cbData
) const;
Number of bytes required.
Returns a pointer to the allocated memory.
This static function allocates memory for a byte array.
This allocator should be used for any memory that will be
attached to an object using the
Attach() method.
Unless the buffer is later attached to another object,
it should be deallocated using the
CXlSerialData::Destroy() static method.
Header: xlserialize.h