Describe the Feature
Can you please add methods in SeekableXZInputStream ability to write straight into an existing java.nio.ByteBuffer
This is to replicate something like
ByteBuffer bytebuffer = ByteBuffer.allocateDirect(65536);
RandomAccessFile raf = new RandomAccessFile(filePath, "r");
FileChannel fc = raf.getChannel();
ByteBuffer.allocateDirect(this.bufferSize);
// call next statements many ties by seeking various positions
fc.read(bytebuffer);
bytebuffer.flip();
Expected Complications
ByteBuffer is available since old versions of java, so adding this feature should not be an issue.
Will I try to implement this new feature?
No