How can i iterate bits in a byte array?
You can iterate through the byte array, and for each byte use the bitwise operators to iterate though its bits.