Contents

CFDataGetBytePtr(_:)

Returns a read-only pointer to the bytes of a CFData object.

Declaration

func CFDataGetBytePtr(_ theData: CFData!) -> UnsafePointer<UInt8>!

Parameters

  • theData:

    The CFData object to examine.

Return Value

A read-only pointer to the bytes associated with theData.

Discussion

This function is guaranteed to return a pointer to a CFData object’s internal bytes. CFData, unlike CFString, does not hide its internal storage.

See Also

Examining a CFData Object