Function calcSmmCRC32

  • Calculates a CRC-32 checksum using a custom SMM-specific polynomial lookup table.

    This CRC implementation is tailored for Safety Motion Module (SMM) data validation, ensuring data integrity across packed buffers. It supports an initial CRC seed, allowing for chained calculations or non-standard CRC resets.

    Returns

    The computed CRC-32 checksum as a 32-bit unsigned integer.

    Parameters

    • buffer: Uint8Array

      The input data buffer (Uint8Array) for which to calculate the CRC.

    • initial: number

      The initial CRC value, typically 0xFFFFFFFF for standard calculations.

    Returns number

Generated using TypeDoc