static Uint8List int8list2uint8list(Int8List l) { Uint8List r = Uint8List(l.length); for (int i = 0; i < l.length; i++) { r[i] = l[i] & 0xFF; } return r; }