I have an incoming byte stream (unsigned char) from a file or network. I need this data placed in a class and are looking for a NET way of doing this.
I'm sure this has been doing this all the time, so I think there is a better way to do this than using BitConverter.
I understand that I have provided too much information. Let me try an example class:
class data {
void doSmething();
int var1;
float var2;
}
Then I want to pass the data (var1 and var2) contained in this class on top of f.ex. network socket and get data on the other end
source
share