(&mut self, input: &mut &'a [u8], length: usize)
| 54 | |
| 55 | impl<'a, K: Decode<'a>, V: Decode<'a>> View<'a> for MapDecoder<'a, K, V> { |
| 56 | fn populate(&mut self, input: &mut &'a [u8], length: usize) -> Result<()> { |
| 57 | self.lengths.populate(input, length)?; |
| 58 | self.keys.populate(input, self.lengths.length())?; |
| 59 | self.values.populate(input, self.lengths.length()) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | macro_rules! encode_body { |