byteorder-pod is a crate that provides wrappers around primitive numeric types and stores them in memory in a specified endianness.
byteorder-pod
See the documentation for up to date information.