Package org.robovm.apple.coremedia
Class CMBlockBuffer
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMBlockBuffer
- All Implemented Interfaces:
AutoCloseable
public class CMBlockBuffer extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMBlockBuffer.CMBlockBufferPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCMBlockBuffer() -
Method Summary
Modifier and Type Method Description BytePtraccessDataBytes(long offset, long length, VoidPtr temporaryBlock)protected static OSStatusaccessDataBytes0(CMBlockBuffer theBuffer, long offset, long length, VoidPtr temporaryBlock, BytePtr.BytePtrPtr returnedPointerOut)voidappendBufferReference(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags)protected OSStatusappendBufferReference0(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags)voidappendMemoryBlock(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)protected OSStatusappendMemoryBlock0(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)voidassureBlockMemory()protected OSStatusassureBlockMemory0()voidcopyDataBytes(long offsetToData, long dataLength, VoidPtr destination)protected OSStatuscopyDataBytes0(long offsetToData, long dataLength, VoidPtr destination)static CMBlockBuffercreate(int subBlockCapacity, CMBlockBufferFlags flags)static CMBlockBuffercreate(CMBlockBuffer targetBuffer, long offsetToData, long dataLength, CMBlockBufferFlags flags)static CMBlockBuffercreate(CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)static CMBlockBuffercreate(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)protected static OSStatuscreate0(CFAllocator structureAllocator, int subBlockCapacity, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)protected static OSStatuscreate0(CFAllocator structureAllocator, CMBlockBuffer bufferReference, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)protected static OSStatuscreate0(CFAllocator structureAllocator, CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)protected static OSStatuscreate0(CFAllocator structureAllocator, VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)voidfillDataBytes(byte fillByte, long offsetIntoDestination, long dataLength)protected static OSStatusfillDataBytes0(byte fillByte, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength)static longgetClassTypeID()longgetDataLength()protected OSStatusgetDataPointer0(long offset, MachineSizedUIntPtr lengthAtOffsetOut, MachineSizedUIntPtr totalLengthOut, BytePtr.BytePtrPtr dataPointerOut)booleanisEmpty()booleanisRangeContiguous(long offset, long length)voidreplaceDataBytes(VoidPtr sourceBytes, long offsetIntoDestination, long dataLength)protected static OSStatusreplaceDataBytes0(VoidPtr sourceBytes, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength)Methods 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
-
CMBlockBuffer
protected CMBlockBuffer()
-
-
Method Details
-
create
public static CMBlockBuffer create(int subBlockCapacity, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
create
public static CMBlockBuffer create(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
create
public static CMBlockBuffer create(CMBlockBuffer targetBuffer, long offsetToData, long dataLength, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
create
public static CMBlockBuffer create(CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
appendMemoryBlock
public void appendMemoryBlock(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
appendBufferReference
public void appendBufferReference(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
assureBlockMemory
- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
accessDataBytes
public BytePtr accessDataBytes(long offset, long length, VoidPtr temporaryBlock) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
copyDataBytes
public void copyDataBytes(long offsetToData, long dataLength, VoidPtr destination) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
replaceDataBytes
public void replaceDataBytes(VoidPtr sourceBytes, long offsetIntoDestination, long dataLength) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
fillDataBytes
public void fillDataBytes(byte fillByte, long offsetIntoDestination, long dataLength) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
create0
protected static OSStatus create0(CFAllocator structureAllocator, int subBlockCapacity, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut) -
create0
protected static OSStatus create0(CFAllocator structureAllocator, VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut) -
create0
protected static OSStatus create0(CFAllocator structureAllocator, CMBlockBuffer bufferReference, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut) -
create0
protected static OSStatus create0(CFAllocator structureAllocator, CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut) -
getClassTypeID
public static long getClassTypeID() -
appendMemoryBlock0
protected OSStatus appendMemoryBlock0(VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags) -
appendBufferReference0
protected OSStatus appendBufferReference0(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags) -
assureBlockMemory0
-
accessDataBytes0
protected static OSStatus accessDataBytes0(CMBlockBuffer theBuffer, long offset, long length, VoidPtr temporaryBlock, BytePtr.BytePtrPtr returnedPointerOut) -
copyDataBytes0
-
replaceDataBytes0
protected static OSStatus replaceDataBytes0(VoidPtr sourceBytes, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength) -
fillDataBytes0
protected static OSStatus fillDataBytes0(byte fillByte, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength) -
getDataPointer0
protected OSStatus getDataPointer0(long offset, MachineSizedUIntPtr lengthAtOffsetOut, MachineSizedUIntPtr totalLengthOut, BytePtr.BytePtrPtr dataPointerOut) -
getDataLength
public long getDataLength() -
isRangeContiguous
public boolean isRangeContiguous(long offset, long length) -
isEmpty
public boolean isEmpty()
-