(&mut self)
| 121 | fn read_slice(&mut self, n: u32) -> Result<&[u8]>; |
| 122 | |
| 123 | fn read_array<const N: usize>(&mut self) -> Result<&[u8; N]> { |
| 124 | self.read_slice(N as u32).map(|s| s.try_into().unwrap()) |
| 125 | } |
| 126 | |
| 127 | fn read_str(&mut self, len: u32) -> Result<&str> { |
| 128 | Ok(core::str::from_utf8(self.read_slice(len)?)?) |
nothing calls this directly
no test coverage detected