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