This is a common optimized block copy function for any kind of data.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
<ExtensionAttribute> _ Public Shared Sub CopyImage ( _ channel As ISupportBinaryImage, _ destination As Byte(), _ ByRef index As Integer _ )
[ExtensionAttribute] public: static void CopyImage( ISupportBinaryImage^ channel, array<unsigned char>^ destination, int% index )
![](../icons/collapse_all.gif)
This function automatically advances index for convenience.