-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add endianness support #13
Comments
Cerealed was written primarily to implement networking protocols, which are invariably big endian. Other than faster serialisation between little endian machines, what's the use case? |
My particular testcase was, to read binary blocks (Type-Length-Data) out of a file and then decode the contained data into structs. |
Maybe I'm biased because of my background, but I would've stored the file data in big-endian in the first place. Unless you don't control the file format? |
I used the amazing lib to implement a passive DIAMETER protocol application. Two words:"Great job!" Example use case is IoT (Internet of Things) protocols. What I'm seeing there is a shift to little-endian (or even worst, some kind of unknown mixture : google/eddystone#138 ). P.S. |
I've been working on little endian but it's not trivial. |
Cerealed seems to have no support for different byte orders.
The library should clearly support both little and big endian.
The text was updated successfully, but these errors were encountered: