Creates a CFMutableData object by copying another CFData object.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The CFAllocator object to be used to allocate memory for the new object. Pass
NULLor kCFAllocatorDefault to use the current default allocator.
The maximum number of bytes that the CFData object can contain. The CFData object starts with the same length as the original object, and can grow to contain this number of bytes.
0to specify that the maximum capacity is not limited. If non-
capacitymust be greater than or equal to the length of
The CFData object to be copied.
A CFMutableData object that has the same contents as the original object. Returns
NULL if there was a problem copying the object. Ownership follows the The Create Rule.