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

Byteorder of the wzip and wunzip test files #6

Open
xxyzz opened this issue Jul 7, 2019 · 1 comment
Open

Byteorder of the wzip and wunzip test files #6

xxyzz opened this issue Jul 7, 2019 · 1 comment

Comments

@xxyzz
Copy link

xxyzz commented Jul 7, 2019

The byte order of the current test files are little endian. Using htonl and ntohl to convert the number should works for all systems.

@xxyzz xxyzz changed the title The wunzip's fourth test output file should have 121 "e"s Byteorder of the wzip and wunzip test files Nov 24, 2019
@xxyzz
Copy link
Author

xxyzz commented Nov 24, 2019

I found this post(https://dflund.se/~pi/endian.html) about byte order quite helpful.

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