MemorySegment support in NIO channels
Joseph Tarbit
joetarbit at gmail.com
Thu Nov 21 14:36:28 UTC 2024
Hi,
I was wondering if direct support for MemorySegments would ever be
added to the NIO channel APIs. Obviously at the moment you must
convert segments to ByteBuffers which can get a little fiddly if the
sizes exceed Integer.MAX_SIZE and overall it would be a lot cleaner if
you could pass segments directly to write and read functions. Is this
being considered at all?
Best Regards,
Joe
More information about the panama-dev
mailing list