lo there all,<br><br>i am reading a binary file with open(&#39;myfile&#39;, &#39;rb&#39;)<br><br>then i do a read(1) to read one byte. cool so far.<br><br>but how do i read the individual bits of a byte<br><br>i mean if i have a = read(1)
<br><br>how do i know what the msb of a is ?<br><br>i need to know because i have to see if the msb is set and i also need to know the value of the next bit.<br><br>any tips would be greatly appreciated.<br><br>thanks<br>