Skip to content

BytesHandle: return -1 on EOF #341

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

Merged
merged 1 commit into from
Oct 16, 2018
Merged

BytesHandle: return -1 on EOF #341

merged 1 commit into from
Oct 16, 2018

Conversation

gab1one
Copy link
Contributor

@gab1one gab1one commented Oct 16, 2018

BytesHandle did not return -1 when when at the end of the stream, this is not expected behavior and additionally broke the compatibility of BytesHandle with other stream reading APIs (e.g. when wrapped in a DataHandleInputStream).

@ctrueden ctrueden merged commit 6f337e8 into master Oct 16, 2018
@ctrueden ctrueden deleted the bytesHandle-EOF branch October 16, 2018 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants