# complaint here.
current.result = callback( # type: ignore[misc]
current.result, *args, **kwargs
d1 = r.decode(start_segments, self._start_segment)
d2 = r.decode(end_segments, self._end_segment)
self._read_length = self._data_length
self._setup_encoding_parameters()
# containing part of the segment that we were asked to read.
_assert(self._read_length > 0, self._read_length)
end_data = self._offset + self._read_length
return True
raise AssertionError(_format_error(None, args, kwargs))