openPDC Synchrophasor Help
CopyImage Method (source, destination, index, length)
NamespacesTVA.PhasorProtocolsCommonCopyImage(array<Byte>[]()[][], array<Byte>[]()[][], Int32%, Int32)
This is a common optimized block copy function for binary data.
Declaration Syntax
C#Visual BasicVisual C++
public static void CopyImage(
	this byte[] source,
	byte[] destination,
	ref int index,
	int length
)
<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
source (array<Byte>[]()[][])
Source buffer to copy data from.
destination (array<Byte>[]()[][])
Destination buffer to hold copied buffer data.
index (Int32%)
Index into destination buffer to begin copy. Index is automatically incremented by length.
length (Int32)
Number of bytes to copy from source.
Remarks
Source index is always zero so hence not requested. This function automatically advances index for convenience.

Assembly: TVA.PhasorProtocols (Module: TVA.PhasorProtocols) Version: 1.4.192.0