MCPcopy Create free account
hub / github.com/bytecodealliance/system-interface / read_exact

Method read_exact

src/io/io_ext.rs:218–220  ·  view source on GitHub ↗
(&self, buf: &mut [u8])

Source from the content-addressed store, hash-verified

216
217 #[inline]
218 fn read_exact(&self, buf: &mut [u8]) -> io::Result<()> {
219 Read::read_exact(&mut &*self.as_filelike_view::<std::fs::File>(), buf)
220 }
221
222 #[inline]
223 fn read_vectored(&self, bufs: &mut [IoSliceMut]) -> io::Result<usize> {

Callers 2

read_exact_atMethod · 0.80
file_is_read_writeFunction · 0.80

Calls 1

read_exactFunction · 0.85

Tested by 1

file_is_read_writeFunction · 0.64