title: Compare byte values?
body: <p>I'm curious to know why, when I compare a <code>byte</code> array with a value...</p>
  
  <pre><code>boolean match = ((data[0] &amp; 0xFF) == 0xFE);
  </code></pre>
  
  <p>...returns <code>true</code>, while...</p>
  
  <pre><code>boolean match = (data[0] == 0xFE);
  </code></pre>
  
  <p>...does not? <code>data</code> is a <code>byte</code> array with</p>
  
  <pre><code>data[0] = (byte) 0xFE;
  </code></pre>