convert method

  1. @override
List<int> convert(
  1. List<int> input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
List<int> convert(List<int> input) {
  final bytes = input is Uint8List ? input : Uint8List.fromList(input);
  return brotliCompress(bytes, options: options);
}