Hi, how can I assign a byte array (read from a device) to a C# class or struct? Christian
C Christian Havel Mar 10, 2008 #1 Hi, how can I assign a byte array (read from a device) to a C# class or struct? Christian
J Jon Skeet [C# MVP] Mar 10, 2008 #2 Christian Havel said: how can I assign a byte array (read from a device) to a C# class or struct? Click to expand... You can't (easily) change an existing instance, but you can create a *new* instance using serialization. See BinaryFormatter for details.
Christian Havel said: how can I assign a byte array (read from a device) to a C# class or struct? Click to expand... You can't (easily) change an existing instance, but you can create a *new* instance using serialization. See BinaryFormatter for details.
C Christian Havel Mar 10, 2008 #3 Thank you Jon. Christian Jon Skeet said: You can't (easily) change an existing instance, but you can create a *new* instance using serialization. See BinaryFormatter for details. Click to expand...
Thank you Jon. Christian Jon Skeet said: You can't (easily) change an existing instance, but you can create a *new* instance using serialization. See BinaryFormatter for details. Click to expand...