Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NIO Channel APIs for buffers #56

Open
jvz opened this issue Nov 4, 2017 · 0 comments
Open

Add NIO Channel APIs for buffers #56

jvz opened this issue Nov 4, 2017 · 0 comments

Comments

@jvz
Copy link
Contributor

jvz commented Nov 4, 2017

I was thinking it would be handy if I could either wrap an LBufferAPI into a SeekableByteChannel instance or similar. For instance, I may be handed a direct ByteBuffer from one API which I can't safely convert into an LBufferAPI instance without worrying about its internal cleaner, so being able to more obviously take advantage of bulk get/put APIs from the channel APIs would make a lot of sense. I see there is already a package-private implementation of a WritableByteChannel at least, so the idea is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant