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

Make LittleEndianDataInputStream#readAndCheckByte public #2417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SpOOnman
Copy link

In my opinion LittleEndianDataInputStream cannot be easily used with composition. I think readAndCheckByte method should be public.

For example I need to have a method that reads 3 bytes and constructs int from that array. My implementation would be the same as readInt with first byte being 0x00. I'd like to use readAndCheckByte but it's private.

@SpOOnman
Copy link
Author

Any news on this? Is it fine or needs more work? Thanks.

@cpovirk cpovirk added P4 no SLO package=io type=enhancement Make an existing feature better labels Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes P4 no SLO package=io type=enhancement Make an existing feature better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants