toHex static method
Implementation
static String toHex(Iterable<int> bytes) {
StringBuffer hexStr = StringBuffer();
for (var byte in bytes) {
hexStr.write(byte.toRadixString(16).padLeft(2, "0").toUpperCase());
hexStr.write(" ");
}
return hexStr.toString();
}