Share via


CMBlockBuffer Class

Definition

A contiguous range of data offsets over a possibly non-contiguous memory region.

public class CMBlockBuffer : CoreFoundation.NativeObject, CoreMedia.ICMAttachmentBearer
type CMBlockBuffer = class
    inherit NativeObject
    interface ICMAttachmentBearer
    interface INativeObject
Inheritance
Implements

Properties

Name Description
DataLength
Handle (Inherited from DisposableObject)
IsEmpty
Owns (Inherited from DisposableObject)

Methods

Name Description
AccessDataBytes(UIntPtr, UIntPtr, IntPtr, IntPtr)
AppendBuffer(CMBlockBuffer, UIntPtr, UIntPtr, CMBlockBufferFlags)
AppendMemoryBlock(Byte[], UIntPtr, CMBlockBufferFlags)
AppendMemoryBlock(IntPtr, UIntPtr, CMCustomBlockAllocator, UIntPtr, UIntPtr, CMBlockBufferFlags)
AssureBlockMemory()
ClearHandle() (Inherited from DisposableObject)
CopyDataBytes(UIntPtr, UIntPtr, Byte[])
CopyDataBytes(UIntPtr, UIntPtr, IntPtr)
CreateContiguous(CMBlockBuffer, CMCustomBlockAllocator, UIntPtr, UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
CreateEmpty(UInt32, CMBlockBufferFlags, CMBlockBufferError)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
FillDataBytes(Byte, UIntPtr, UIntPtr)
FromBuffer(CMBlockBuffer, UIntPtr, UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
FromMemoryBlock(Byte[], UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
FromMemoryBlock(IntPtr, UIntPtr, CMCustomBlockAllocator, UIntPtr, UIntPtr, CMBlockBufferFlags, CMBlockBufferError)
GetCheckedHandle() (Inherited from DisposableObject)
GetDataPointer(UIntPtr, UIntPtr, UIntPtr, IntPtr)
GetHashCode() (Inherited from DisposableObject)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
IsRangeContiguous(UIntPtr, UIntPtr)
Release() (Inherited from NativeObject)
ReplaceDataBytes(Byte[], UIntPtr)
ReplaceDataBytes(IntPtr, UIntPtr, UIntPtr)
Retain() (Inherited from NativeObject)

Extension Methods

Name Description
GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode)
GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode)

Returns the attachment that is identifed by key and writes the attachment propagation mode to attachmentModeOut.

GetAttachments(ICMAttachmentBearer, CMAttachmentMode)

Returns an array of all the bearer's attachments and the attachment propagation mode to attachmentMode.

GetAttachments<TKey,TValue>(ICMAttachmentBearer, CMAttachmentMode)
PropagateAttachments(ICMAttachmentBearer, ICMAttachmentBearer)

Propagates the attachments that belong to source and are allowed to propagate to destination.

RemoveAllAttachments(ICMAttachmentBearer)

Removes all of target's attachment.'

RemoveAttachment(ICMAttachmentBearer, String)

Removes the attachment that is identifed by key.

SetAttachment(ICMAttachmentBearer, String, INativeObject, CMAttachmentMode)

Attaches value to the bearer with the specified key and attachmentMode.

SetAttachments(ICMAttachmentBearer, NSDictionary, CMAttachmentMode)

Attaches theAttachments to the bearer with the specified attachmentMode.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to