-
Notifications
You must be signed in to change notification settings - Fork 57
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
Provide Input.readTo(Buffer) #83
Comments
Buffer should be treated as an internal object because it could cause a lot of damage if leaked. I prefer not to expose it if possible. This method if implemented should be internal and used inside |
I am not sure how things you said interfere with my proposal. The idea is to make it best effort zero-copy, if |
The The method should be useful for internal API though. But in order to use it properly, we also need a way to hack into a way Input generates those Buffers. |
We're rebooting the kotlinx-io development (see #131), all issues related to the previous versions will be closed. Consider reopening it if the issue remains (or the feature is still missing) in a new version. |
With best-effort zero-copy
The text was updated successfully, but these errors were encountered: