MCPcopy Create free account
hub / github.com/arraypad/each / read

Method read

src/readers.rs:19–21  ·  view source on GitHub ↗
(&mut self, buf: &mut [u8])

Source from the content-addressed store, hash-verified

17
18impl Read for FileReader {
19 fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
20 self.reader.read(buf)
21 }
22}
23
24pub const CACHE_LEN: usize = 4096;

Callers 1

guess_formatFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected