bytes as a Uint8List, without copying when it already is one.
bytes
Uint8List dvAsUint8List(List<int> bytes) => bytes is Uint8List ? bytes : Uint8List.fromList(bytes);