Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
impl<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
len
Method · 0.80
Tested by
no test coverage detected