modbus v0.20.2 (2021-12-02T15:10:20Z)
Dub
Repo
checkCRC
modbus
backend
rtu
Check CRC16 of data
pure nothrow @
trusted
@
nogc
bool
checkCRC
(
const
(
void
)[]
data
)
Parameters
data
const
(
void
)[]
last two bytes used as CRC16
Meta
Source
See Implementation
modbus
backend
rtu
classes
RTU
functions
checkCRC
crc16
Check CRC16 of data