How can I convert an array of bytes to a given structure in C#?
I have data sent to me in a socket (something like void*). I know the structure of the data. I may have strings in it (with variable length - I can't predict it).

What's my best solution?