CmdMessenger
4.0.0
CmdMessenger is a serial port messaging library for the .Net / Mono Platform.
|
Helper object to convert structures to byte arrays and vice versa. More...
Static Public Member Functions | |
static byte[] | ObjectToByteArray (object obj) |
Convert an object to a byte array. | |
static void | ByteArrayToObject (byte[] bytearray, ref object obj) |
Convert an byte array to an object. |
Helper object to convert structures to byte arrays and vice versa.
static void CommandMessenger.StructSerializer.ByteArrayToObject | ( | byte[] | bytearray, |
ref object | obj | ||
) | [static] |
Convert an byte array to an object.
bytearray | The bytearray. |
obj | [in,out] The object. |
static byte [] CommandMessenger.StructSerializer.ObjectToByteArray | ( | object | obj | ) | [static] |
Convert an object to a byte array.
obj | The object. |