GenericHashConsumer class abstract
A typed StreamConsumer, which is used to generate a hash from a stream of data.
See GenericHash.createConsumer for more details.
- Implemented types
Properties
Methods
-
add(
Uint8List data) → void -
Adds
data
to the sink.inherited -
addStream(
Stream< Uint8List> stream) → Future -
Consumes the elements of
stream
.inherited -
close(
) → Future< Uint8List> -
Closes the consumer and calculates the hash.
override
-
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