Just to be a little more clear, Java’s InputStream doesn’t provide the primitive methods that we need. We’d always need a sub interface That provides positioned reads and there hasn’t been any consensus about which extension to use.
Effectively what we need is Hadoop’s PositionedReadable with ByteBuffers. I’m actually currently defining the extension to PositionedReadable to add an async read method with ByteBuffers. https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/PositionedReadable.html .. Owen > On Feb 20, 2020, at 11:01, Matamoros, Ronald <ronald.matamo...@accenture.com> > wrote: >