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

Method read_to_string_at

src/fs/file_io_ext.rs:501–503  ·  view source on GitHub ↗
(&self, buf: &mut String, offset: u64)

Source from the content-addressed store, hash-verified

499
500 #[inline]
501 fn read_to_string_at(&self, buf: &mut String, offset: u64) -> io::Result<usize> {
502 read_to_string_at(&self.as_filelike_view::<std::fs::File>(), buf, offset)
503 }
504
505 #[inline]
506 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> {

Callers

nothing calls this directly

Calls 1

read_to_string_atFunction · 0.70

Tested by

no test coverage detected