quickDigest static method

List<int> quickDigest(
  1. List<int> data
)

Calculates the XModem CRC (Cyclic Redundancy Check) for the given data.

This method computes the CRC value for a block of data using the XModem CRC algorithm and returns the result as a 16-bit List<int>.

Parameters:

  • data: The data block for which to calculate the CRC.

Returns: A 16-bit CRC value as a List

Implementation

static List<int> quickDigest(List<int> data) {
  return _calculateXmodemCrc(data);
}