CMBlockBuffer.ReplaceDataBytes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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