Package org.robovm.apple.corefoundation
Class CFData
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFPropertyList
org.robovm.apple.corefoundation.CFData
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CFMutableData
public class CFData extends CFPropertyList
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFData.CFDataPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFPropertyList
CFPropertyList.CFPropertyListPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCFData() -
Method Summary
Modifier and Type Method Description ByteBufferasByteBuffer()static CFDatacreate(byte[] bytes)static CFDatacreate(ByteBuffer bytes)static CFDatacreateCopy(CFAllocator allocator, CFData theData)static CFDatacreateCopy(CFData theData)CFRangefind(CFData dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions)protected longgetBytePtr()byte[]getBytes()protected voidgetBytes(CFRange range, long buffer)static longgetClassTypeID()longgetLength()Methods inherited from class org.robovm.apple.corefoundation.CFPropertyList
asData, asData, create, create, create, create, create, create, createDeepCopy, createDeepCopy, isValid, writeMethods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CFData
protected CFData()
-
-
Method Details
-
create
-
create
-
createCopy
-
asByteBuffer
-
getBytes
public byte[] getBytes() -
getClassTypeID
public static long getClassTypeID() -
createCopy
-
getLength
public long getLength() -
getBytePtr
protected long getBytePtr() -
getBytes
-
find
-