ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DXUtil Class / ToByteArray<T> Method
The type of source array.
The source array.

In This Topic
    ToByteArray<T> Method (DXUtil)
    In This Topic
    Converts a structured array to an equivalent byte array.
    Syntax
    'Declaration
     
    Public Shared Function ToByteArray(Of T As {New, Struct})( _
       ByVal source() As T _
    ) As Byte()
    public static byte[] ToByteArray<T>( 
       T[] source
    )
    where T: new(), struct

    Parameters

    source
    The source array.

    Type Parameters

    T
    The type of source array.

    Return Value

    Converted byte array.
    See Also