CFDataIncreaseLength(_:_:)
Increases the length of a CFMutableData object’s internal byte buffer, zero-filling the extension to the buffer.
Declaration
func CFDataIncreaseLength(_ theData: CFMutableData!, _ extraLength: CFIndex)Parameters
- theData:
A CFMutableData object. If you pass an immutable CFData object, the behavior is not defined.
- extraLength:
The number of bytes by which to increase the byte buffer.
Discussion
This function increases the length of a CFMutableData object’s underlying byte buffer to a new size, initializing the new bytes to 0.