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

Method write

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

Source from the content-addressed store, hash-verified

9impl<T: Update> io::Write for IoWrapper<T> {
10 #[inline]
11 fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
12 Update::update(&mut self.0, buf);
13 Ok(buf.len())
14 }
15
16 #[inline]
17 fn flush(&mut self) -> io::Result<()> {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.80

Tested by

no test coverage detected