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