calculateUncorrectableError method
override
Implementation to calculate whether something is an uncorrectableError.
Implementation
@override
@protected
Logic calculateUncorrectableError() {
final mismatches = [
for (var start = 0; start < rawData.width; start += groupSize)
rawData
.getRange(start, (start + groupSize).clamp(0, rawData.width))
.xor() ^
code[start ~/ groupSize] ^
Const(oddParity),
];
return mismatches.rconcat().or();
}