XLL+ Class Library

CXlSerialData::Destroy

Deallocates memory for a byte array

[C++]
static void Destroy(
   void* pvData,
   size_t cbData
) const;

Parameters

pvData

A pointer to an array of bytes, of size cbData, which was allocated using Alloc().

cbData

Number of bytes in buffer.

Return value

This static function deallocates memory used for a byte array. This deallocator should be used for any memory that has been detached from an object using the Detach() method.

Requirements

Header: xlserialize.h

See Also

CXlSerialData Class | CXlSerialData Methods