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.