paulirwin commented on issue #1151:
URL: https://github.com/apache/lucenenet/issues/1151#issuecomment-2752252425

   @NightOwl888 HeapByteBuffer looks like it could work, but unfortunately a 
lot of those methods are sealed, so I'm not sure on first glance how you'd 
override them to trigger refilling the buffer...
   
   Another thing to explore: I found this in the dotNext repo, about how to use 
unsafe code to get Memory/ReadOnlySequence from MemoryMappedFile: 
https://dotnet.github.io/dotNext/features/io/mmfile.html - that code is 
MIT-licensed so we could lift it (with license attribution) without having to 
add a dependency if we wanted.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to