Function validate_crc16

Source
pub fn validate_crc16(brcode: &str) -> Result<bool>
Expand description

Validate CRC16 checksum of a BR Code string

The CRC16 is calculated over the entire payload excluding the CRC field (tag 63)