decode method

  1. @override
Uint8List decode(
  1. String data
)
override

Implementation

@override
Uint8List decode(String data) {
  final result = _convertBits(
      data.codeUnits.fold([], (prev, item) {
        return prev..add(_alphabetMap[item]!);
      }),
      5,
      8,
      false);
  return Uint8List.fromList(result);
}