List<int> convert(String input, [ int start = 0, int end ])

Converts input and returns the result of the conversion.

Source

List<int> convert(String input, [int start = 0, int end]) {
  end = RangeError.checkValidRange(start, end, input.length);
  if (start == end) return new Uint8List(0);
  var decoder = new _Base64Decoder();
  Uint8List buffer = decoder.decode(input, start, end);
  decoder.close(input, end);
  return buffer;
}