decodedHex property

Uint8List get decodedHex

Implementation

Uint8List get decodedHex {
  Uint8List result = Uint8List(length ~/ 2);
  for (int i = 0; i < length; i += 2) {
    String byte = substring(i, i + 2);
    result[i ~/ 2] = int.parse(byte, radix: 16);
  }
  return result;
}