Creates an XPC object representing buffer of bytes described by the given GCD data object.
- macOS 10.7+
- Mac Catalyst 13.0+
The GCD data object containing the bytes which are to be boxed. This object is retained by the data object.
A new data object.
The object returned by this method will refer to the buffer returned by dispatch_data_create_map(). The point where XPC will make the call to dispatch_data_create_map() is undefined.