CMBlockBuffer.FromMemoryBlock 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromMemoryBlock(Byte[], nuint, CMBlockBufferFlags, CMBlockBufferError) | |
FromMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags, CMBlockBufferError) |
FromMemoryBlock(Byte[], nuint, CMBlockBufferFlags, CMBlockBufferError)
public static CoreMedia.CMBlockBuffer FromMemoryBlock (byte[] data, nuint offsetToData, CoreMedia.CMBlockBufferFlags flags, out CoreMedia.CMBlockBufferError error);
static member FromMemoryBlock : byte[] * nuint * CoreMedia.CMBlockBufferFlags * -> CoreMedia.CMBlockBuffer
參數
- data
- Byte[]
- offsetToData
- System.System.UIntPtr System.unativeint
- flags
- CMBlockBufferFlags
- error
- CMBlockBufferError
傳回
適用於
FromMemoryBlock(IntPtr, nuint, CMCustomBlockAllocator, nuint, nuint, CMBlockBufferFlags, CMBlockBufferError)
public static CoreMedia.CMBlockBuffer FromMemoryBlock (IntPtr memoryBlock, nuint blockLength, CoreMedia.CMCustomBlockAllocator customBlockSource, nuint offsetToData, nuint dataLength, CoreMedia.CMBlockBufferFlags flags, out CoreMedia.CMBlockBufferError error);
static member FromMemoryBlock : nativeint * nuint * CoreMedia.CMCustomBlockAllocator * nuint * nuint * CoreMedia.CMBlockBufferFlags * -> CoreMedia.CMBlockBuffer
參數
- memoryBlock
-
IntPtr
nativeint
- blockLength
- System.System.UIntPtr System.unativeint
- customBlockSource
- CMCustomBlockAllocator
- offsetToData
- System.System.UIntPtr System.unativeint
- dataLength
- System.System.UIntPtr System.unativeint
- flags
- CMBlockBufferFlags
- error
- CMBlockBufferError