[]
Converts a structured array to an equivalent byte array.
public static byte[] ToByteArray<T>(T[] source) where T : struct
Type | Name | Description |
---|---|---|
T[] | source | The source array. |
Type | Description |
---|---|
byte[] | Converted byte array. |
Name | Description |
---|---|
T | The type of source array. |