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.
Gets a pointer to the raw bytes of a data object from an array directly.
Creates an XPC object representing a POSIX file descriptor.
Returns a file descriptor that is equivalent to the one boxed by the file descriptor object.
Calculates a hash value for the given object.
Decrements the reference count of an object.
Increments the reference count of an object.
Creates an XPC object representing the given shared memory region.
Maps the region boxed by the XPC shared memory object into the caller’s address space.
Creates an XPC object representing a universally-unique identifier (UUID) as described by uuid(3).