Copies the memory from src to dest, length size bytes.
The action is performed count-times. Next time is the source and destination pointer increased by srcStride or destStride.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
public static void StrideCopy( IntPtr dest, int destStride, IntPtr src, int srcStride, int size, int count ) |
Parameters
- dest
- Type: System..::.IntPtr
The pointer where the data are saved.
- destStride
- Type: System..::.Int32
Performs incrementation of the value dest next time.
- src
- Type: System..::.IntPtr
The pointer to the beginning of the data block in the memory.
- srcStride
- Type: System..::.Int32
Performs decrementation of the value src next time.
- size
- Type: System..::.Int32
Size of the block in bytes.
- count
- Type: System..::.Int32
The count of loops.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | dest is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentNullException | src is nullNothingnullptra null reference (Nothing in Visual Basic). |