Click or drag to resize

CvToolboxCopyVectorTData Method

http://www.emgu.com
Copy a generic vector to the unmanaged memory

Namespace:  Emgu.CV.Util
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public static int CopyVector<TData>(
	TData[] src,
	IntPtr dest,
	int bytesToCopy = -1
)

Parameters

src
Type: TData
The source vector
dest
Type: SystemIntPtr
Pointer to the destination unmanaged memory
bytesToCopy (Optional)
Type: SystemInt32
Specify the number of bytes to copy. If this is -1, the number of bytes equals the number of bytes in the src

Type Parameters

TData
The data type of the vector

Return Value

Type: Int32
The number of bytes copied
See Also