This is a common optimized block copy function for binary data.
Declaration Syntax
C# | Visual Basic | Visual C++ |
<ExtensionAttribute> _ Public Shared Sub CopyImage ( _ source As Byte(), _ destination As Byte(), _ ByRef index As Integer, _ length As Integer _ )
[ExtensionAttribute] public: static void CopyImage( array<unsigned char>^ source, array<unsigned char>^ destination, int% index, int length )
Parameters
Remarks
Source index is always zero so hence not requested. This function automatically advances index for convenience.