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

[Java] Allow for InputStream not reading entire length #1034

Merged
merged 5 commits into from
Oct 30, 2023

Conversation

knutwannheden
Copy link
Contributor

The InputStream#read() API allows for an implementation to only partially read the requested number of bytes. Update the calls in Fury#deserialize() and Fury#deserializeFromStream() to account for this.

The `InputStream#read()` API allows for an implementation to only partially read the requested number of bytes. Update the calls in `Fury#deserialize()` and `Fury#deserializeFromStream()` to account for this.
@chaokunyang
Copy link
Collaborator

@knutwannheden LGTM overall, I left some comments. BTW, we use mvn spotless:apply to format java code, you can format this PR by cd java && mvn spotless:apply

Copy link
Collaborator

@chaokunyang chaokunyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for your contribution, @knutwannheden

@chaokunyang chaokunyang merged commit e3d97b5 into apache:main Oct 30, 2023
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants