CRC16CCITTFalse class
CRC16_CCITT_FALSE:多项式x16+x12+x5+1(0x1021),初始值0xFFFF,低位在后,高位在前,结果与0x0000异或
- Inheritance
-
- Object
- Checksum
- CRC16Checksum
- CRC16CCITTFalse
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.
override
-
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