Java Iterate Bits in Byte Array

前端 未结 7 1571
夕颜
夕颜 2020-12-08 02:49

How can i iterate bits in a byte array?

7条回答
  •  星月不相逢
    2020-12-08 03:06

    You can iterate through the byte array, and for each byte use the bitwise operators to iterate though its bits.

提交回复
热议问题