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

Method get_reader_mut

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

Gets a mutable reference to the underlying reader Direct reads from the underlying reader are not hashed

(&mut self)

Source from the content-addressed store, hash-verified

42 /// Gets a mutable reference to the underlying reader
43 /// Direct reads from the underlying reader are not hashed
44 pub fn get_reader_mut(&mut self) -> &mut R {
45 &mut self.reader
46 }
47
48 /// Consume the HashReader and return its hasher
49 pub fn into_hasher(self) -> D {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected