crc16 implementation java

后端 未结 4 1538
陌清茗
陌清茗 2020-12-10 18:41

I am having problems with calculating CRC-16 implementation of a byte array in java. Basically I am trying to send bytes to a RFID that starts writing to a tag. I can see th

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-10 19:17

    There is a CRC16 implementation in the Java runtime (rt.jar) already.

    Please see grepcode for the source.

    You will probably be able to see it in your IDE if you search for CRC16:

提交回复
热议问题