MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / next_bytes

Method next_bytes

icicle-cortexm/src/mmio.rs:209–213  ·  view source on GitHub ↗
(&mut self, size: usize)

Source from the content-addressed store, hash-verified

207 }
208
209 pub fn next_bytes(&mut self, size: usize) -> Option<&[u8]> {
210 let buf = self.data.get(self.offset..self.offset + size)?;
211 self.offset += size;
212 Some(buf)
213 }
214
215 pub fn set_input(&mut self, data: &[u8]) {
216 self.data.clear();

Callers 1

readMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected