In the related question, I was trying to figure out the fastest way. The method I chose in that question has become a bottle neck for me. I am reading some binary data from a file and need to put it into a managed structure definition. No unmanaged code is involved so I'm thinking there is a better way than allocating the GCHandle.
Is there a way to just cast an array of bytes to a structure of the same size?