Convert some generic vector to vector of Bytes

Namespace:  Emgu.Util
Assembly:  Emgu.Util (in Emgu.Util.dll) Version: 2.1.0.649 (2.1.0.649)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static byte[] ToBytes<D>(
	D[] data
)
Public Shared Function ToBytes(Of D) ( _
	data As D() _
) As Byte()
public:
generic<typename D>
static array<unsigned char>^ ToBytes(
	array<D>^ data
)

Parameters

data
array< D >[]()[]
array of data

Type Parameters

D
type of the input vector

Return Value

the byte vector

See Also