restoreState method
Restores the hash state from a saved state.
Implementation
@override
SerializableHash restoreState(HashBytesState savedState) {
_buffer.clear();
_buffer.addAll(savedState.data);
_finished = false;
return this;
}
Restores the hash state from a saved state.
@override
SerializableHash restoreState(HashBytesState savedState) {
_buffer.clear();
_buffer.addAll(savedState.data);
_finished = false;
return this;
}