CMBlockBuffer.ReplaceDataBytes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReplaceDataBytes(Byte[], nuint) |
复制并用给定的源字节数组数据替换缓冲区的区块。 |
ReplaceDataBytes(IntPtr, nuint, nuint) |
ReplaceDataBytes(Byte[], nuint)
复制并用给定的源字节数组数据替换缓冲区的区块。
public CoreMedia.CMBlockBufferError ReplaceDataBytes (byte[] sourceBytes, nuint offsetIntoDestination);
member this.ReplaceDataBytes : byte[] * nuint -> CoreMedia.CMBlockBufferError
参数
- sourceBytes
- Byte[]
源字节数组
- offsetIntoDestination
- System.System.UIntPtr System.unativeint
目标替换偏移量
返回
操作状态。
适用于
ReplaceDataBytes(IntPtr, nuint, nuint)
public CoreMedia.CMBlockBufferError ReplaceDataBytes (IntPtr sourceBytes, nuint offsetIntoDestination, nuint dataLength);
member this.ReplaceDataBytes : nativeint * nuint * nuint -> CoreMedia.CMBlockBufferError
参数
- sourceBytes
-
IntPtr
nativeint
- offsetIntoDestination
- System.System.UIntPtr System.unativeint
- dataLength
- System.System.UIntPtr System.unativeint