[]
        
(Showing Draft Content)

C1.Util.DX.DXUtil.ToByteArray

ToByteArray Method

ToByteArray<T>(T[])

Converts a structured array to an equivalent byte array.

Declaration
public static byte[] ToByteArray<T>(T[] source) where T : struct
Public Shared Function ToByteArray(Of T As Structure)(source As T()) As Byte()
Parameters
Type Name Description
T[] source

The source array.

Returns
Type Description
byte[]

Converted byte array.

Type Parameters
Name Description
T

The type of source array.