static Uint8List concatUint8Lists(List<Uint8List> chunks) { return Uint8List.fromList(chunks.expand((x) => (x)).toList()); }