BinaryStructConverterToByteArrayT Method |
Convert a structure to a byte array
Namespace:
ComPDFKitViewer.Helper
Assembly:
ComPDFKit.Viewer (in ComPDFKit.Viewer.dll) Version: 2.2.0.0 (2.2.0.0)
Syntaxpublic static byte[] ToByteArray<T>(
T obj
)
where T : struct, new()
Parameters
- obj
- Type: T
Structure
Type Parameters
- T
-
Structure type
Return Value
Type:
Byte
byte array
See Also