Method ToByteArray
ToByteArray<T>(T)
Turns a structure into a byte array.
Declaration
[Obsolete("Might be removed in a later version.")]
public static byte[] ToByteArray<T>(this T structure)
where T : struct
Parameters
Type | Name | Description |
---|---|---|
T | structure | The value. |
Returns
Type | Description |
---|---|
System.Byte[] |
Type Parameters
Name | Description |
---|---|
T | The type of the structure |