Change bits value in Byte

后端 未结 5 1745
北海茫月
北海茫月 2021-02-14 15:31

I have some data in field type Byte ( I save eight inputs in Byte, every bit is one input ). How to change just one input in that field ( Byte) but not to lose information about

5条回答
  •  名媛妹妹
    2021-02-14 16:06

    Note that the "Byte" wrapper class is immutable, and you will need to work with "byte".

提交回复
热议问题