printBytes static method
Implementation
static printBytes(Uint8List outImageBytes, int pictureWidthBytes) {
String binLine = "";
for (int i = 0; i < outImageBytes.length; i++) {
if (i % pictureWidthBytes == 0) {
print(binLine + " -- $i");
binLine = "";
}
binLine =
binLine + " " + (outImageBytes[i].toRadixString(2).padLeft(8, '0'));
}
}