HammingType enum

Type of Hamming code, with different characteristics for error correction, error detection, and number of check bits required.

Inheritance

Values

sec → const HammingType

Single error correction (SEC), but cannot detect double bit errors.

const HammingType._(hasExtraParityBit: false, hasCorrection: true)
sedded → const HammingType

Double error detection (DED): can detect up to double-bit errors, but performs no correction.

const HammingType._(hasExtraParityBit: false, hasCorrection: false)
secded → const HammingType

Single error correction, double error detection (SECDED).

const HammingType._(hasExtraParityBit: true, hasCorrection: true)
seddedted → const HammingType

Triple error detection (TED), can detect up to triple-bit errors, but performs no correction.

const HammingType._(hasExtraParityBit: true, hasCorrection: false)

Properties

hasCorrection bool
Indicates whether this type supports correction of errors.
final
hasExtraParityBit bool
Indicates whether this type requires an additional parity bit.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

values → const List<HammingType>
A constant List of the values in this enum, in order of their declaration.