consume method
Consumes the entire stream
of byte array and generates a HashDigest.
Implementation
@pragma('vm:prefer-inline')
Future<HashDigest> consume(Stream<List<int>> stream) {
return bind(stream).first;
}
Consumes the entire stream
of byte array and generates a HashDigest.
@pragma('vm:prefer-inline')
Future<HashDigest> consume(Stream<List<int>> stream) {
return bind(stream).first;
}