MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / read

Method read

net_util/src/tap.rs:540–542  ·  view source on GitHub ↗
(&mut self, buf: &mut [u8])

Source from the content-addressed store, hash-verified

538
539impl Read for Tap {
540 fn read(&mut self, buf: &mut [u8]) -> IoResult<usize> {
541 self.tap_file.read(buf)
542 }
543}
544
545impl Write for Tap {

Callers 1

test_readFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_readFunction · 0.36