Contents

AEStreamOpen()

Opens a new AEStreamRef for use in building a descriptor.

Declaration

func AEStreamOpen() -> AEStreamRef!

Return Value

A new AEStreamRef or NULL if the stream data structures cannot be allocated.

Discussion

This function creates a new stream for use in describing the contents of a descriptor, descriptor list, or Apple event record (AEDesc, AEDescList, or AERecord).

You can use the returned AEStreamRef with other “AEStream” routines to build the contents of a descriptor. When you are done building the descriptor, use AEStreamClose(_:_:) to close the stream.

See Also

Creating Apple Event Structures Using Streams