MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / read_at

Method read_at

core/src/vfs/dev.rs:120–122  ·  view source on GitHub ↗
(&self, buf: &mut [u8], offset: u64)

Source from the content-addressed store, hash-verified

118
119impl FileNodeOps for Device {
120 fn read_at(&self, buf: &mut [u8], offset: u64) -> VfsResult<usize> {
121 self.ops.read_at(buf, offset)
122 }
123
124 fn write_at(&self, buf: &[u8], offset: u64) -> VfsResult<usize> {
125 self.ops.write_at(buf, offset)

Callers 1

loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected