In C#, is it possible to cast a byte array into another type without creating a new array?
<p>I have a byte[] object that I'm using as a data buffer.</p>

<p>I want to "read" it as an array of a either primitive/non-primitive structs without duplicating the byte[] data in memory.</p>

<p>The goal would be something like:</p>

<pre><code>byte[] myBuffer;

//Buffer is populated

int[] asInts = PixieDust_ToInt(myBuffer);
MyStruct[] asMyStructs = PixieDust_ToMyStruct(myBuffer);
</code></pre>

<p>Is this possible? If so, how?</p>