Check if bit is set to 1 and change to 0
<p>I am trying to change some bits in a byte[] </p>

<p>But I have not been able to find the correct condition to change the value</p>

<p>Lets say my byte is  11010101 
I need to check if the 1st bit is 1 and change it to 0</p>

<p>Thanks</p>