title: Bitwise AND, Bitwise Inclusive OR question, in Java
body: <p>I've a few lines of code within a project, that I can't see the value of...</p>
  
  <pre><code>buffer[i] = (currentByte &amp; 0x7F) | (currentByte &amp; 0x80);
  </code></pre>
  
  <p>It reads the filebuffer from a file, stored as bytes, and then transfers then to buffer[i] as shown, but I can't understand what the overall purpose is, any ideas?</p>
  
  <p>Thanks</p>