CRC16Maxim class
CRC16_MAXIM:多项式x16+x15+x2+1(0x8005),初始值0x0000,低位在前,高位在后,结果与0xFFFF异或 0xA001是0x8005按位颠倒后的结果
- Inheritance
-
- Object
- Checksum
- CRC16Checksum
- CRC16Maxim
Constructors
Properties
Methods
-
getBinaryValue(
) → String -
Returns the current checksum binary value.
inherited
-
getHexValue(
[bool isPadding = false]) → String -
获取16进制的CRC16值
param
isPadding
不足4位时,是否填充0以满足位数 return 16进制的CRC16值,4位inherited -
getValue(
) → int -
Returns the current checksum value.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
Resets the checksum to its initial value.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Uint8List ints, [int off = 0, int? len]) → void -
使用指定的字节数组更新当前校验和
override
-
updateInt(
int b) → void -
使用指定字节更新当前校验和
override
-
updateList(
List< int> ints, [int off = 0, int? len]) → void -
使用指定的字节数组更新当前校验和
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited