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

Method read_exact_at

src/fs/file_io_ext.rs:479–481  ·  view source on GitHub ↗
(&self, buf: &mut [u8], offset: u64)

Source from the content-addressed store, hash-verified

477
478 #[inline]
479 fn read_exact_at(&self, buf: &mut [u8], offset: u64) -> io::Result<()> {
480 FileExt::read_exact_at(&*self.as_filelike_view::<std::fs::File>(), buf, offset)
481 }
482
483 #[cfg(not(any(target_os = "ios", target_os = "macos", target_os = "redox")))]
484 #[inline]

Callers

nothing calls this directly

Calls 4

read_exact_atFunction · 0.85
reopenFunction · 0.85
seekMethod · 0.80
read_exactMethod · 0.80

Tested by

no test coverage detected