Contents

AESizeOfFlattenedDesc(_:)

Returns the amount of buffer space needed to store the descriptor after flattening it.

Declaration

func AESizeOfFlattenedDesc(_ theAEDesc: UnsafePointer<AEDesc>!) -> Size

Parameters

  • theAEDesc:

    A pointer to the descriptor to be flattened. See Aedesc.

Return Value

The size, in bytes, required to store the flattened descriptor.

Discussion

You call this function before calling AEFlattenDesc(_:_:_:_:) to determine the required size of the buffer for the flatten operation.

Version-Notes

Thread safe starting in OS X v10.2.

See Also

Serializing Apple Event Data