DartHashSink class abstract

A HashSink that supports synchronous evaluation (hashSync).

Inheritance

Constructors

DartHashSink()

Properties

hashBytes Uint8List
Unsafe view at the current hash bytes.
no setter
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(List<int> chunk) → void
Adds chunked data to this sink.
override
addSlice(List<int> chunk, int start, int end, bool isLast) → void
Adds the next chunk to this.
override
close() → void
Closes the sink.
override
hash() Future<Hash>
Result after calling close().
override
hashSync() Hash
Computes a hash synchronously (unlike hash).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited