Copies the bytes stored in a data objects into the specified buffer.
- macOS 10.7+
- Mac Catalyst 13.0+
The data object which is to be examined.
The buffer in which to copy the data object's bytes.
The offset at which to begin the copy. If this offset is greater than the length of the data element, nothing is copied. Pass 0 to start the copy at the beginning of the buffer.
The length of the destination buffer.
The number of bytes that were copied into the buffer.