(
&mut self,
out: &mut W,
start: usize,
end: usize,
)
| 2033 | } |
| 2034 | |
| 2035 | fn encode_list_range<W: Write + ?Sized>( |
| 2036 | &mut self, |
| 2037 | out: &mut W, |
| 2038 | start: usize, |
| 2039 | end: usize, |
| 2040 | ) -> Result<(), AvroError> { |
| 2041 | encode_blocked_range(out, start, end, |out, row| { |
| 2042 | self.values |
| 2043 | .encode(out, row.saturating_sub(self.values_offset)) |
| 2044 | }) |
| 2045 | } |
| 2046 | |
| 2047 | fn encode<W: Write + ?Sized>(&mut self, out: &mut W, idx: usize) -> Result<(), AvroError> { |
| 2048 | let offsets = self.list.offsets(); |
no test coverage detected