()
| 203 | |
| 204 | impl GlobalMmioSource { |
| 205 | pub fn empty() -> Self { |
| 206 | Self { data: vec![], offset: 0, mmio_accesses: None } |
| 207 | } |
| 208 | |
| 209 | pub fn next_bytes(&mut self, size: usize) -> Option<&[u8]> { |
| 210 | let buf = self.data.get(self.offset..self.offset + size)?; |
nothing calls this directly
no outgoing calls
no test coverage detected