Copies all the objects contained in the array to aBuffer.
Mac Catalyst 13.0–13.0Deprecated
A C array of objects of size at least the count of the array.
The method copies into aBuffer all the objects in the array; the size of the buffer must therefore be at least the count of the array multiplied by the size of an object reference, as shown in the following example (note that this is just an example, you should typically not create a buffer simply to iterate over the contents of an array):
This deprecated method is unsafe because it could potentially cause buffer overruns.
Creates and returns an array that includes a given number of objects from a given C array.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.