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

[io-2] Make Buffer an interface and add BufferView #77

Closed
altavir opened this issue Nov 25, 2019 · 1 comment
Closed

[io-2] Make Buffer an interface and add BufferView #77

altavir opened this issue Nov 25, 2019 · 1 comment

Comments

@altavir
Copy link

altavir commented Nov 25, 2019

I encountered few places where I need to either partially read or partially write Buffer. For example I read some data read from file with limiting window. I would be easily done if I could open for input only part of the buffer. It would be quite easy to implement if Buffer would be an interface and not an expected class. I think it is a good idea to make it an interface in any case since we probably will want to have multiple buffer implementations for a single platform. It should not affect performance.

@fzhinkin
Copy link
Collaborator

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.

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

2 participants