Function calculate_crc
Source pub fn calculate_crc(data: &[u8]) -> u64
Expand description
Calculate CRC64 checksum for data
This is compatible with the OpenIGTLink C++ implementation.
§Arguments
data
- Byte slice to calculate CRC for
§Returns
64-bit CRC checksum