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

Method read

digest-io/src/io_wrapper.rs:24–27  ·  view source on GitHub ↗
(&mut self, buf: &mut [u8])

Source from the content-addressed store, hash-verified

22impl<T: XofReader> io::Read for IoWrapper<T> {
23 #[inline]
24 fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
25 XofReader::read(&mut self.0, buf);
26 Ok(buf.len())
27 }
28}

Callers

nothing calls this directly

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected