arlmet.calculate_checksum#

arlmet.calculate_checksum(packed)[source]#

Compute the ARL checksum for a packed payload.

Parameters:

packed (bytes or bytearray) – The packed byte array for which to calculate the checksum.

Returns:

Rolling checksum used in ARL index records.

Return type:

int