process method

  1. @override
Uint8List process(
  1. Uint8List data
)

Process a whole block of data at once, returning the result in a byte array.

Implementation

@override
Uint8List process(Uint8List data) {
  // Expand the output block size by an extra byte to handle cases where
  // the output is larger than expected.
  var out = Uint8List(outputBlockSize + 1);
  var len = processBlock(data, 0, data.length, out, 0);
  return out.sublist(0, len);
}