stringHexToListHex function
Implementation
List stringHexToListHex(String string) {
/// The string is divided into 8 byte long parts and added to a list. If the rest of the string is not long enough, then only the parts that are
/// available are taken.
List list = [];
for (int a = 0; a < string.length; a += 8) {
String hex = "";
if (string.length - a < 8) {
hex = string.substring(a, string.length);
} else {
hex = string.substring(a, a + 8);
}
list.add(hex);
}
return list;
}