ToByteArray<T> Method (DXUtil)
In This Topic
Converts a structured array to an equivalent byte array.
Syntax
'Declaration
Public Shared Function ToByteArray(Of As {New, Struct})( _
ByVal () As _
) As System.Byte()
public static System.byte[] ToByteArray<>(
[]
)
where T: new(), struct
Parameters
- source
- The source array.
Type Parameters
- T
- The type of source array.
Return Value
Converted byte array.
See Also