crc32 static method

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

Get the CRC-32 checksum of the given int.

Implementation

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