bytesToHexadecimalString static method
Implementation
static String bytesToHexadecimalString(List<int> bytes) {
StringBuffer imageHexString = StringBuffer();
for (int aByte in bytes) {
String hexString = (aByte & 0xFF).toRadixString(16).padLeft(2, '0');
imageHexString.write(hexString);
}
return imageHexString.toString();
}