Uint8List concatBytes(List<Uint8List> byteLists) { return Uint8List.fromList(byteLists.expand((x) => x).toList()); }