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

Modify decodeUTF8Chars to gracefully treat end of input #85

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

Modify decodeUTF8Chars to gracefully treat end of input #85

altavir opened this issue Nov 30, 2019 · 1 comment

Comments

@altavir
Copy link

altavir commented Nov 30, 2019

To properly evaluate end of file and safely treat trailing read symbol after \r in readUTF8Line. I do not see safe way to implement it without changing how decodeUTF8Chars works. Trying to call eof() inside condition does not work because of inline nature of the method.

@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