$process method
Processes a chunk of input data
Implementation
@override
void $process(List<int> chunk, int start, int end) {
messageLength += end - start;
for (; start < end; start++, pos++) {
if (pos == blockLength) {
$update();
pos = 0;
}
buffer[pos] = chunk[start];
}
if (pos == blockLength) {
$update();
pos = 0;
}
}