restoreState method

  1. @override
SerializableHash<HashState> restoreState(
  1. HashBytesState savedState
)
override

Restores the hash state from a saved state.

Implementation

@override
SerializableHash restoreState(HashBytesState savedState) {
  _buffer.clear();
  _buffer.addAll(savedState.data);
  _finished = false;
  return this;
}