MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read

Method read

atomic-core/src/pristine/txn/pristine/snapshot.rs:77–79  ·  view source on GitHub ↗
(&self, offset: u64, out: &mut [u8])

Source from the content-addressed store, hash-verified

75 }
76
77 fn read(&self, offset: u64, out: &mut [u8]) -> io::Result<()> {
78 self.0.read(offset, out)
79 }
80
81 fn set_len(&self, len: u64) -> io::Result<()> {
82 self.0.set_len(len)

Callers 13

openMethod · 0.45
copy_snapshotMethod · 0.45
get_verified_changeMethod · 0.45
lenMethod · 0.45
is_emptyMethod · 0.45
hashesMethod · 0.45
fmtMethod · 0.45
cloneMethod · 0.45
get_changeMethod · 0.45
has_changeMethod · 0.45
has_contentsMethod · 0.45
get_contentsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected