CFDataReplaceBytes |
||||
Header: | CFData.h | Carbon status: | Supported | |
Replaces those bytes in a mutable CFData object that fall within a specified range with other bytes.
void CFDataReplaceBytes ( CFMutableDataRef data, CFRange range, const UInt8 *newBytes, CFIndex newLength );
Pass a reference to a mutable CFData object. References to immutable CFData objects will cause indeterminate behavior
Pass a structure of type CFRange that specifies the range of bytes (that is, the starting byte and the number of bytes from that point) to delete from the CFData object's byte buffer.
Pass a pointer to the buffer containing the replacement bytes.
Specify the number of bytes in the byte buffer newBytes.
Supported in Carbon. Available in Carbon 1.0.2 and later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)