readCodewords method
Implementation
Uint8List readCodewords() {
final result = Uint8List(144);
final height = _bitMatrix.height;
final width = _bitMatrix.width;
for (int y = 0; y < height; y++) {
final bitNRRow = _bitNR[y];
for (int x = 0; x < width; x++) {
final bit = bitNRRow[x];
if (bit >= 0 && _bitMatrix.get(x, y)) {
result[bit ~/ 6] |= (1 << (5 - (bit % 6)));
}
}
}
return result;
}