jorgecarleitao commented on issue #1059: URL: https://github.com/apache/arrow-rs/issues/1059#issuecomment-997150785
I think that this may be achieved with the current code with a generic struct over `R: Read` that wraps a `reader: R` that 1. implements `Read` and buffers the result. 2. implements `Seek` to positions smaller than the buffer (and panics otherwise) 3. when the read happens over the buffered result, it reads first from the buffer up to the length of the buffered result, and then from the inner reader -- 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]
