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

Little Endian is not enforced for fixed64 formats and the like #5

Open
GoogleCodeExporter opened this issue Jul 27, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

No tests done, but examining the code it seems we generally just call typecast 
in matlab, which should use the system's endianness, when writing or 
interpreting fixed64 like types. The protocol buffer standard specifies for 
little endian to be used, so encoding or parsing on a big endian machine would 
produce incorrect results.

Typecast is also used in parsing of several other types, so they might also be 
broken on a big endian system.

Original issue reported on code.google.com by [email protected] on 23 Mar 2012 at 6:14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant