Constants

Functions

  • | Determine if the CPU running this program | can accelerate the CRC32C calculation. |
  • | Return the crc32c of concat(A, data[0,n-1]) | where init_crc is the crc32c of some string A. | Extend() is often used to maintain the crc32c | of a stream of data.
  • | Return a masked representation of crc. | | Motivation: it is problematic to compute the | CRC of a string that contains embedded CRCs. | Therefore we recommend that CRCs stored | somewhere (e.g., in files) should be masked | before being stored.
  • | Reads a little-endian 32-bit integer | from a 32-bit-aligned buffer. |
  • | Returns the smallest address >= the given | address that is aligned to N bytes. | | N must be a power of two.
  • | Return the crc whose masked representation | is masked_crc. |
  • | Return the crc32c of data[0,n-1] |