How can I convert an int to byte array without the 0x00 bytes?
<p>I'm trying to convert an <code>int</code> value to a <code>byte array</code>, but I'm using the <code>byte</code> for MIDI information (meaning that the 0x00 <code>byte</code> which is returned when using <code>GetBytes</code> acts as a separator) which renders my MIDI information useless.</p>

<p>I would like to convert the <code>int</code> to an <code>array</code> which leaves out the 0x00 bytes and just contains the bytes which contain actual values. How can I do this?</p>
