Skip to content
Commit 91d6863e authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Use byteorder for multi-byte values



Instead of manually expanding multi-byte encoding, use the byteorder
crate which has its own extension methods to do this.  This both makes
the code a bit clearer, and also makes it clear that these encodings are
specific to little endian platforms.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 3b090212
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment