process method

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

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

This call is equivalent to processBlock but it allocates the array under the hood.

Implementation

@override
Uint8List process(Uint8List data) {
  var out = Uint8List(blockSize);
  var len = processBlock(data, 0, out, 0);
  return out.sublist(0, len);
}