switchEndian static method
Switch endianness of a hex string
Implementation
static String switchEndian(String hexString) {
String ret = "";
RegExp(r'..').allMatches(hexString).forEach((match) {
ret = match.group(0)! + ret;
});
return ret;
}