Function

AEGetDescDataSize

Gets the size, in bytes, of the data in the specified descriptor.

Declaration

Size AEGetDescDataSize(const AEDesc *theAEDesc);

Parameters

theAEDesc

A pointer to the descriptor to obtain the data size for. See AEDesc.

Return Value

Returns the size, in bytes, of the data in the specified descriptor.

Discussion

This function works only with value descriptors created by AECreateDesc. You cannot get the data size of an AERecord or AEDescList, for example.

Version-Notes

Thread safe starting in OS X v10.2.

See Also

Operating On Descriptor Data

AEGetDescData

Gets the data from the specified descriptor.

AEGetDescDataRange

Retrieves a specified series of bytes from the specified descriptor.

AEReplaceDescData

Copies the specified data into the specified descriptor, replacing any previous data.