Should Base64 decoder have a return type of Uint8List? #31784
Closed
Description
In Dart version 2.0.0-dev.15.0 the following does not work:
BASE64.decode(s)?.buffer?.asInt32List();
Fixing this would only require changing the return type of List<int> convert
in Base64Decoder
class to Uint8List convert
. The _Base64.decode
method already has type Uint8List
.
Is there some reason is missing for not doing this?