Package com.sun.jna.platform.mac
Class CoreFoundation.CFDataRef
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.mac.CoreFoundation.CFTypeRef
com.sun.jna.platform.mac.CoreFoundation.CFDataRef
- All Implemented Interfaces:
- NativeMapped
- Enclosing interface:
- CoreFoundation
A reference to an immutable 
CFData object.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionConvenience method forCoreFoundation.CFDataGetBytePtr(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this objectintConvenience method forCoreFoundation.CFDataGetLength(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this objectMethods inherited from class com.sun.jna.platform.mac.CoreFoundation.CFTypeRefgetTypeID, isTypeID, release, retainMethods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
- 
Constructor Details- 
CFDataRefpublic CFDataRef()
- 
CFDataRef
 
- 
- 
Method Details- 
getLengthpublic int getLength()Convenience method forCoreFoundation.CFDataGetLength(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this object- Returns:
- An index that specifies the number of bytes associated with this object.
 
- 
getBytePtrConvenience method forCoreFoundation.CFDataGetBytePtr(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this object- Returns:
- A read-only pointer to the bytes associated with this object.
 
 
-