CMBlockBuffer.AppendMemoryBlock 方法

定义

重载

AppendMemoryBlock(Byte[], nuint, CMBlockBufferFlags)
AppendMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags)

AppendMemoryBlock(Byte[], nuint, CMBlockBufferFlags)

public CoreMedia.CMBlockBufferError AppendMemoryBlock (byte[] data, nuint offsetToData, CoreMedia.CMBlockBufferFlags flags);
member this.AppendMemoryBlock : byte[] * nuint * CoreMedia.CMBlockBufferFlags -> CoreMedia.CMBlockBufferError

参数

data
Byte[]
offsetToData
System.System.UIntPtr System.unativeint

返回

适用于

AppendMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags)

public CoreMedia.CMBlockBufferError AppendMemoryBlock (IntPtr memoryBlock, nuint blockLength, CoreMedia.CMCustomBlockAllocator customBlockSource, nuint offsetToData, nuint dataLength, CoreMedia.CMBlockBufferFlags flags);
member this.AppendMemoryBlock : nativeint * nuint * CoreMedia.CMCustomBlockAllocator * nuint * nuint * CoreMedia.CMBlockBufferFlags -> CoreMedia.CMBlockBufferError

参数

memoryBlock
IntPtr

nativeint

blockLength
System.System.UIntPtr System.unativeint
customBlockSource
CMCustomBlockAllocator
offsetToData
System.System.UIntPtr System.unativeint
dataLength
System.System.UIntPtr System.unativeint

返回

适用于