compose MemorySegments
Douglas Surber
douglas.surber at oracle.com
Thu Jun 10 23:41:32 UTC 2021
As I understand them, no a mapped MemorySegment wouldn't work. The data is not in a file. It is in byte[]s. My code has to look at the bits as it gets them from the network to deal with metadata. Based on that it copies the data bits from the network buffer into byte[]s with no additional processing.
Douglas
On Jun 10, 2021, at 4:24 PM, panama-dev-request at openjdk.java.net<mailto:panama-dev-request at openjdk.java.net> wrote:
Would a mapped MemorySegment work for you?
More information about the panama-dev
mailing list