finish method
Finalizes the hash computation and stores the result in the provided out
buffer.
Implementation
@override
Hash finish(List<int> out) {
final rounds = getDigestLength ~/ getBlockSize;
for (int seed = 0; seed < rounds; seed++) {
final hash = _XXHash64Const.xxhash64(_buffer, seed).reversed.toList();
out.setAll(seed * 8, hash);
}
_finished = true;
return this;
}