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

Probably wrong encoding on big-endian computers #12

Open
kylebarron opened this issue Jun 9, 2020 · 1 comment
Open

Probably wrong encoding on big-endian computers #12

kylebarron opened this issue Jun 9, 2020 · 1 comment

Comments

@kylebarron
Copy link
Owner

I often dump the bytes of a numpy array to a buffer for fast writing to file

This probably uses system endianness. Since quantized mesh files must be little-endian, presumably files written on big-endian computers would be incorrect.

Look at the Numpy byte-swapping docs for a fix

@kylebarron
Copy link
Owner Author

I think I'll set this as low-priority and only fix if someone raises an issue.

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