CRC32Params class

Constructors

CRC32Params(int poly, {int seed = 0, int xorOut = 0, bool reversed = false})
Create a custom polynomial for CRC-32

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Polynomial name
final
poly int
Polynomial value
final
reversed bool
To use the reverse of the polynomial
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed int
Initial CRC
final
xorOut int
Output XOR value
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

aal5 → const CRC32Params
adccp → const CRC32Params
aixm → const CRC32Params
autosar → const CRC32Params
base91C → const CRC32Params
base91D → const CRC32Params
bzip2 → const CRC32Params
castagnoli → const CRC32Params
Castagnoli's polynomial, used in iSCSI. Has better error detection characteristics than IEEE. https://dx.doi.org/10.1109/26.231911
cdRomEdc → const CRC32Params
cksum → const CRC32Params
dectB → const CRC32Params
ieee → const CRC32Params
IEEE is by far and away the most common CRC-32 polynomial. Used by ethernet (IEEE 802.3), v.42, fddi, gzip, zip, png, etc.
interlaken → const CRC32Params
iscsi → const CRC32Params
iso → const CRC32Params
isoHdlc → const CRC32Params
jamcrc → const CRC32Params
koopman → const CRC32Params
Koopman's polynomial. Also has better error detection characteristics than IEEE. https://dx.doi.org/10.1109/DSN.2002.1028931
mef → const CRC32Params
mpeg2 → const CRC32Params
nvme → const CRC32Params
pkzip → const CRC32Params
posix → const CRC32Params
v42 → const CRC32Params
xfer → const CRC32Params
xz → const CRC32Params