Allocates memory for a byte stream
static void* Alloc( size_t cbData ) const; |
Number of bytes required.
Returns a pointer to tha allocated memory.
This static function allocates memory for a byte stream. 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 CXlMarshaledData::Destroy() static method.
Header: xlmarshal.h