ConversionsStructureToBytesT Method |
Marshals data from a managed object of a specified type to array of bytes.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static byte[] StructureToBytes<T>(
T structure
)
Parameters
- structure
- Type: T
The structure.
Type Parameters
- T
- The structure type.
Return Value
Type:
ByteAn array of bytes.
See Also