(&mut self, n: u32)
| 159 | |
| 160 | impl Read for &[u8] { |
| 161 | fn read_slice(&mut self, n: u32) -> Result<&[u8]> { |
| 162 | self.read_slice_borrow(n) |
| 163 | } |
| 164 | |
| 165 | fn read_array<const N: usize>(&mut self) -> Result<&[u8; N]> { |
| 166 | let (chunk, rest) = self.split_first_chunk::<N>().ok_or(MarshalError::Eof)?; |
no test coverage detected