Solutionunvalidated
You can make a ByteBuffer appear to be smaller by changing its limit: — reading from a FileChannel. Outcome: buffer.clear();.
d56de6ae-9b15-4ffb-95a7-3d87ea5f470a
You can make a ByteBuffer appear to be smaller by changing its limit: — reading from a FileChannel. Outcome: buffer.clear();.