update method

  1. @override
Hash update(
  1. List<int> data
)
override

Updates the hash with the provided data.

Implementation

@override
Hash update(List<int> data) {
  if (_finished) {
    throw CryptoException.failed(
      "XXHash64.update",
      reason: "State was finished.",
    );
  }
  _buffer.addAll(data);
  return this;
}