CRC32 function Null safety

int CRC32(
  1. int crc,
  2. int b
)

Get the CRC-32 checksum of the given int.

Implementation

int CRC32(int crc, int b) => _crc32Table[(crc ^ b) & 0xff] ^ (crc >> 8);