Edit

Share via


CMBlockBuffer.ReplaceDataBytes Method

Definition

Overloads

ReplaceDataBytes(Byte[], nuint)

Copies and Replaces a chunk of the buffer with the given source byte array data.

ReplaceDataBytes(IntPtr, nuint, nuint)

ReplaceDataBytes(Byte[], nuint)

Copies and Replaces a chunk of the buffer with the given source byte array data.

public CoreMedia.CMBlockBufferError ReplaceDataBytes (byte[] sourceBytes, nuint offsetIntoDestination);
member this.ReplaceDataBytes : byte[] * nuint -> CoreMedia.CMBlockBufferError

Parameters

sourceBytes
Byte[]

Source byte array

offsetIntoDestination
System.System.UIntPtr System.unativeint

Destination replacement offset

Returns

Operation status.

Applies to

ReplaceDataBytes(IntPtr, nuint, nuint)

public CoreMedia.CMBlockBufferError ReplaceDataBytes (IntPtr sourceBytes, nuint offsetIntoDestination, nuint dataLength);
member this.ReplaceDataBytes : nativeint * nuint * nuint -> CoreMedia.CMBlockBufferError

Parameters

sourceBytes
IntPtr

nativeint

offsetIntoDestination
System.System.UIntPtr System.unativeint
dataLength
System.System.UIntPtr System.unativeint

Returns

Applies to