I hope to be able to clearly indicate whether a struct is big-endian or little-endian.
Open
customer-request
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 179
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 29
Description
I think a macro like #[zerocopy(little)] could be used to specify the endianness, so that for large structs there’s no need to use byteorder to indicate byte order. This would make it easier to quickly migrate code from other binary libraries to zerocopy.
Contributor guide
Assessment
This issue has not been assessed yet.