W3cubDocs

/Dart 2

base64Encode function

String base64Encode (List<int> bytes)

Encodes bytes using base64 encoding.

Shorthand for base64.encode. Useful if a local variable shadows the global base64 constant.

Implementation

String base64Encode(List<int> bytes) => base64.encode(bytes);

© 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/base64Encode.html