Byteorder
Read and write numeric values in a specified byte order.
BurntSushi · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add byteorder 1.5.0 to a Rust project. Read the same two synthetic bytes with big- and little-endian settings.
What we tested
1.5.0. Read the same two synthetic bytes with big- and little-endian settings. Big-endian returned 258 and little-endian returned 513.