| Index: lib/src/base64.dart
|
| diff --git a/lib/src/base64.dart b/lib/src/base64.dart
|
| index b4c03a85acb6d7cf8952c6715c5bc64e50c83ede..d2f89b5a8e6eb0ea7d984d96d645aa33c327e28c 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 List<int>(0);
|
| + return new Uint8List<int>(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 List<int>(outputLength);
|
| + List<int> out = new Uint8List<int>(outputLength);
|
|
|
| for (int i = 0, o = 0; o < outputLength; ) {
|
| // Accumulate 4 valid 6 bit Base 64 characters into an int.
|
|
|