rdblue commented on PR #4518: URL: https://github.com/apache/iceberg/pull/4518#issuecomment-1107887040
@rizaon, there are a couple of PRs that should help you with this. #4608 adds `IOUtil.readFully` and `IOUtil.readRemaining` that you can use to fill buffers from an input stream. I've also opened #4623 to add the `ByteBufferInputStream` classes I was talking about. Those should allow you to easily split the data across several small allocations and wrap them in an `InputStream` implementation. -- 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]
