HashBytesState class
The HashBytesState
class represents the state of a hashing process that operates on a byte array.
It implements the HashState
interface, providing a way to manage the state of a byte-based hashing operation.
Parameters:
data
: AList<int>
that holds the data to be hashed.pos
: An integer representing the current position or progress in processing the data.
This class is useful for tracking the state of a hash computation, enabling efficient incremental hashing
where data is processed in chunks or sections, and the pos
field keeps track of the current position
within the data buffer.
- Implemented types
Constructors
-
HashBytesState({required List<
int> data, required int pos})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited