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

Method write_at

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

Source from the content-addressed store, hash-verified

504
505 #[inline]
506 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> {
507 FileExt::write_at(&*self.as_filelike_view::<std::fs::File>(), buf, offset)
508 }
509
510 #[inline]
511 fn write_all_at(&self, buf: &[u8], offset: u64) -> io::Result<()> {

Callers 3

write_all_atMethod · 0.80
write_vectored_atMethod · 0.80
write_vectored_atMethod · 0.80

Calls 2

write_atFunction · 0.85
reopen_writeFunction · 0.85

Tested by

no test coverage detected