Decodes encoded
.
The input is decoded as if by decoder.convert
.
The returned Uint8List contains exactly the decoded bytes, so the Uint8List.length is precisely the number of decoded bytes. The Uint8List.buffer may be larger than the decoded bytes.
Uint8List decode(String encoded) => decoder.convert(encoded);
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-convert/Base64Codec/decode.html