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:
java.lang.AutoCloseable
public class CMBlockBuffer extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMBlockBuffer.CMBlockBufferPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CMBlockBuffer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.robovm.rt.bro.ptr.BytePtr
accessDataBytes(long offset, long length, org.robovm.rt.bro.ptr.VoidPtr temporaryBlock)
protected static OSStatus
accessDataBytes0(CMBlockBuffer theBuffer, long offset, long length, org.robovm.rt.bro.ptr.VoidPtr temporaryBlock, org.robovm.rt.bro.ptr.BytePtr.BytePtrPtr returnedPointerOut)
void
appendBufferReference(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags)
protected OSStatus
appendBufferReference0(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags)
void
appendMemoryBlock(org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)
protected OSStatus
appendMemoryBlock0(org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)
void
assureBlockMemory()
protected OSStatus
assureBlockMemory0()
void
copyDataBytes(long offsetToData, long dataLength, org.robovm.rt.bro.ptr.VoidPtr destination)
protected OSStatus
copyDataBytes0(long offsetToData, long dataLength, org.robovm.rt.bro.ptr.VoidPtr destination)
static CMBlockBuffer
create(int subBlockCapacity, CMBlockBufferFlags flags)
static CMBlockBuffer
create(CMBlockBuffer targetBuffer, long offsetToData, long dataLength, CMBlockBufferFlags flags)
static CMBlockBuffer
create(CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)
static CMBlockBuffer
create(org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)
protected static OSStatus
create0(CFAllocator structureAllocator, int subBlockCapacity, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
protected static OSStatus
create0(CFAllocator structureAllocator, CMBlockBuffer bufferReference, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
protected static OSStatus
create0(CFAllocator structureAllocator, CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
protected static OSStatus
create0(CFAllocator structureAllocator, org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
void
fillDataBytes(byte fillByte, long offsetIntoDestination, long dataLength)
protected static OSStatus
fillDataBytes0(byte fillByte, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength)
static long
getClassTypeID()
long
getDataLength()
protected OSStatus
getDataPointer0(long offset, org.robovm.rt.bro.ptr.MachineSizedUIntPtr lengthAtOffsetOut, org.robovm.rt.bro.ptr.MachineSizedUIntPtr totalLengthOut, org.robovm.rt.bro.ptr.BytePtr.BytePtrPtr dataPointerOut)
boolean
isEmpty()
boolean
isRangeContiguous(long offset, long length)
void
replaceDataBytes(org.robovm.rt.bro.ptr.VoidPtr sourceBytes, long offsetIntoDestination, long dataLength)
protected static OSStatus
replaceDataBytes0(org.robovm.rt.bro.ptr.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
-
-
-
-
Method Detail
-
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(org.robovm.rt.bro.ptr.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(org.robovm.rt.bro.ptr.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
public void assureBlockMemory() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
accessDataBytes
public org.robovm.rt.bro.ptr.BytePtr accessDataBytes(long offset, long length, org.robovm.rt.bro.ptr.VoidPtr temporaryBlock) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
copyDataBytes
public void copyDataBytes(long offsetToData, long dataLength, org.robovm.rt.bro.ptr.VoidPtr destination) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 4.0 and later.
-
replaceDataBytes
public void replaceDataBytes(org.robovm.rt.bro.ptr.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)
- Since:
- Available in iOS 4.0 and later.
-
create0
protected static OSStatus create0(CFAllocator structureAllocator, org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
create0
protected static OSStatus create0(CFAllocator structureAllocator, CMBlockBuffer bufferReference, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
create0
protected static OSStatus create0(CFAllocator structureAllocator, CMBlockBuffer sourceBuffer, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags, CMBlockBuffer.CMBlockBufferPtr blockBufferOut)
- Since:
- Available in iOS 4.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 4.0 and later.
-
appendMemoryBlock0
protected OSStatus appendMemoryBlock0(org.robovm.rt.bro.ptr.VoidPtr memoryBlock, long blockLength, CFAllocator blockAllocator, CMBlockBufferCustomBlockSource customBlockSource, long offsetToData, long dataLength, CMBlockBufferFlags flags)
- Since:
- Available in iOS 4.0 and later.
-
appendBufferReference0
protected OSStatus appendBufferReference0(CMBlockBuffer targetBBuf, long offsetToData, long dataLength, CMBlockBufferFlags flags)
- Since:
- Available in iOS 4.0 and later.
-
assureBlockMemory0
protected OSStatus assureBlockMemory0()
- Since:
- Available in iOS 4.0 and later.
-
accessDataBytes0
protected static OSStatus accessDataBytes0(CMBlockBuffer theBuffer, long offset, long length, org.robovm.rt.bro.ptr.VoidPtr temporaryBlock, org.robovm.rt.bro.ptr.BytePtr.BytePtrPtr returnedPointerOut)
- Since:
- Available in iOS 4.0 and later.
-
copyDataBytes0
protected OSStatus copyDataBytes0(long offsetToData, long dataLength, org.robovm.rt.bro.ptr.VoidPtr destination)
- Since:
- Available in iOS 4.0 and later.
-
replaceDataBytes0
protected static OSStatus replaceDataBytes0(org.robovm.rt.bro.ptr.VoidPtr sourceBytes, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength)
- Since:
- Available in iOS 4.0 and later.
-
fillDataBytes0
protected static OSStatus fillDataBytes0(byte fillByte, CMBlockBuffer destinationBuffer, long offsetIntoDestination, long dataLength)
- Since:
- Available in iOS 4.0 and later.
-
getDataPointer0
protected OSStatus getDataPointer0(long offset, org.robovm.rt.bro.ptr.MachineSizedUIntPtr lengthAtOffsetOut, org.robovm.rt.bro.ptr.MachineSizedUIntPtr totalLengthOut, org.robovm.rt.bro.ptr.BytePtr.BytePtrPtr dataPointerOut)
- Since:
- Available in iOS 4.0 and later.
-
getDataLength
public long getDataLength()
- Since:
- Available in iOS 4.0 and later.
-
isRangeContiguous
public boolean isRangeContiguous(long offset, long length)
- Since:
- Available in iOS 4.0 and later.
-
isEmpty
public boolean isEmpty()
- Since:
- Available in iOS 4.0 and later.
-
-