List<int> reverseUint8List(List<int> list) { return list.map((integer) => Uint8(integer).reverseBytes().value).toList(); }