Convert some generic vector to vector of Bytes

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

Syntax

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

Parameters

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

Type Parameters

D
type of the input vector

Return Value

the byte vector

See Also