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

Support ByteOrder.BIG_ENDIAN mode when reading/writing doubles #4

Open
niloc132 opened this issue Dec 11, 2019 · 0 comments
Open

Support ByteOrder.BIG_ENDIAN mode when reading/writing doubles #4

niloc132 opened this issue Dec 11, 2019 · 0 comments

Comments

@niloc132
Copy link
Member

The old code in PlayN threw an exception when it attempted to encode/decode Doubles from a ByteBuffer, but at least it was reading the long (which it failed to encode/decode) and handling endian-ness. The new impl (from #3) works, but assumes hardware endian-ness and ByteBuffer.order() match.

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

1 participant