(&mut self)
| 182 | /// Reads an array of type `[u8; N]` from the input. |
| 183 | #[inline] |
| 184 | fn get_array<const N: usize>(&mut self) -> Result<&'de [u8; N], DecodeError> { |
| 185 | self.get_array_chunk().ok_or_else(|| DecodeError::BufferLength { |
| 186 | for_type: "[u8; _]", |
| 187 | expected: N, |
| 188 | given: self.remaining(), |
| 189 | }) |
| 190 | } |
| 191 | |
| 192 | /// Reads a `u8` in little endian (LE) encoding from the input. |
| 193 | /// |
no test coverage detected