MCPcopy Create free account
hub / github.com/RustCrypto/utils / finalize

Method finalize

digest-io/src/reader.rs:64–66  ·  view source on GitHub ↗

Retrieve result and consume HashReader instance.

(self)

Source from the content-addressed store, hash-verified

62
63 /// Retrieve result and consume HashReader instance.
64 pub fn finalize(self) -> Output<D> {
65 self.hasher.finalize()
66 }
67
68 /// Write result into provided array and consume the HashReader instance.
69 pub fn finalize_into(self, out: &mut Output<D>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected