(&mut self, input: &mut &'a [u8], length: usize)
| 52 | |
| 53 | impl<'a, T: Int> View<'a> for IntDecoder<'a, T> { |
| 54 | fn populate(&mut self, input: &mut &'a [u8], length: usize) -> Result<()> { |
| 55 | unpack_ints::<T>(input, length, &mut self.0)?; |
| 56 | Ok(()) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | // Makes IntDecoder<u32> able to decode i32/f32 (but not char since it can fail). |
nothing calls this directly
no test coverage detected