Package org.robovm.apple.corefoundation
Class CFMutableData
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.corefoundation.CFPropertyList
org.robovm.apple.corefoundation.CFData
org.robovm.apple.corefoundation.CFMutableData
- All Implemented Interfaces:
AutoCloseable
public class CFMutableData extends CFData
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCFMutableData.CFMutableDataPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFData
CFData.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 protectedCFMutableData() -
Method Summary
Modifier and Type Method Description CFMutableDataappend(byte[] bytes)CFMutableDataappend(byte[] bytes, int offset, int length)protected voidappend(long bytes, long length)CFMutableDataappend(ByteBuffer bytes)ByteBufferasByteBuffer()static CFMutableDatacreate(long capacity)static CFMutableDatacreate(CFAllocator allocator, long capacity)static CFMutableDatacreateCopy(long capacity, CFData theData)static CFMutableDatacreateCopy(CFAllocator allocator, long capacity, CFData theData)CFMutableDatadelete(CFRange range)protected voiddeleteBytes(CFRange range)protected longgetMutableBytePtr()voidincreaseLength(long extraLength)CFMutableDatainsert(long location, byte[] bytes)CFMutableDatainsert(long location, byte[] bytes, int offset, int length)CFMutableDatainsert(long location, ByteBuffer bytes)CFMutableDatareplace(CFRange range, byte[] bytes)CFMutableDatareplace(CFRange range, byte[] bytes, int offset, int length)protected voidreplace(CFRange range, long newBytes, long newLength)CFMutableDatareplace(CFRange range, ByteBuffer bytes)voidsetLength(long length)Methods inherited from class org.robovm.apple.corefoundation.CFData
create, create, createCopy, createCopy, find, getBytePtr, getBytes, getBytes, getClassTypeID, getLengthMethods 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
-
CFMutableData
protected CFMutableData()
-
-
Method Details
-
create
-
createCopy
-
asByteBuffer
- Overrides:
asByteBufferin classCFData
-
append
-
append
-
append
-
insert
-
insert
-
insert
-
replace
-
replace
-
replace
-
delete
-
create
-
createCopy
-
getMutableBytePtr
protected long getMutableBytePtr() -
setLength
public void setLength(long length) -
increaseLength
public void increaseLength(long extraLength) -
append
protected void append(long bytes, long length) -
replace
-
deleteBytes
-