Class CrcA

extends Crc
CRC-A checksum state.
Note
Crccalc.com lists the initial state of the CRC as 0xC6C6, whereas we use the initial value of 0x6363, the bit reversed value. This value is the one that gives the correct result (matching crccalc.com's check) when run with our code.

Class summary


Constructors

Methods

add data/Data -> none
Variant of add data from to.

add data/Data from/int -> none
Variant of add data from to.

add data/Data from/int to/int -> none
See super.

See super.
Returns the checksum as a width/8 element byte array in the endian order that corresponds to the constructor used.

Returns the checksum as an integer.

operator == other/any -> bool

Stringifies this object.
Inheritance
Objects that need a human-friendly string representation should overwrite this method. The default string is based on the internal class-ID.

Fields

inherited

inherited

inherited

inherited