pub unsafe extern "C" fn subghz_protocol_blocks_crc16lsb(
    message: *const [u8; 0],
    size: usize,
    polynomial: u16,
    init: u16
) -> u16
Expand description

CRC-16 LSB. Input and output are reflected, i.e. least significant bit is shifted in first. Note that poly and init already need to be reflected

@param message array of bytes to check @param size number of bytes in message @param polynomial CRC polynomial @param init starting crc value

@return CRC value