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
 
 public static class CoreFoundation.CFDataRef extends CoreFoundation.CFTypeRef A reference to an immutableCFDataobject.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PointergetBytePtr()Convenience method forCoreFoundation.CFDataGetBytePtr(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this objectintgetLength()Convenience method forCoreFoundation.CFDataGetLength(com.sun.jna.platform.mac.CoreFoundation.CFDataRef)on this object- 
Methods inherited from class com.sun.jna.platform.mac.CoreFoundation.CFTypeRefgetTypeID, isTypeID, release, retain
 - 
Methods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
CFDataRefpublic CFDataRef() 
 - 
CFDataRefpublic CFDataRef(Pointer p) 
 
- 
 - 
Method Detail- 
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.
 
 - 
getBytePtrpublic Pointer getBytePtr() Convenience 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.
 
 
- 
 
-