| Index: lib/src/base64.dart
|
| diff --git a/lib/src/base64.dart b/lib/src/base64.dart
|
| index d2f89b5a8e6eb0ea7d984d96d645aa33c327e28c..92a827509afe8f808836733bcb9039ed13bd1e96 100644
|
| --- a/lib/src/base64.dart
|
| +++ b/lib/src/base64.dart
|
| @@ -278,7 +278,7 @@ class Base64Decoder extends Converter<String, List<int>> {
|
| List<int> convert(String input) {
|
| int length = input.length;
|
| if (length == 0) {
|
| - return new Uint8List<int>(0);
|
| + return new Uint8List(0);
|
| }
|
|
|
| int normalLength = 0;
|
| @@ -329,7 +329,7 @@ class Base64Decoder extends Converter<String, List<int>> {
|
| i--;
|
| }
|
| int outputLength = ((normalLength * 6) >> 3) - padLength;
|
| - List<int> out = new Uint8List<int>(outputLength);
|
| + List<int> out = new Uint8List(outputLength);
|
|
|
| for (int i = 0, o = 0; o < outputLength; ) {
|
| // Accumulate 4 valid 6 bit Base 64 characters into an int.
|
|
|