chaokunyang commented on PR #2037:
URL: https://github.com/apache/fury/pull/2037#issuecomment-2654121386

   Hi @pandalee99 , please replace read_buffer_object with:
   ```python
       def read_buffer_object(self, buffer) -> Buffer:
           in_band = buffer.read_bool()
           if in_band:
               size = buffer.read_varuint32()
               buf = buffer.slice(buffer.reader_index, size)
               buffer.reader_index += size
               return buf
           else:
               assert self._buffers is not None
               return next(self._buffers)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to