Swapbytes
Rust library for swapping the endianess of a structure using a derive macro
Cargo
Using swapbytes
with cargo
[]
= "0.1"
or
cargo add swapbytes
use SwapBytes;
let mut value: Test = Test ;
value.swap_bytes_mut;
Rust library for swapping the endianess of a structure using a derive macro
Using swapbytes
with cargo
[]
= "0.1"
or
cargo add swapbytes
use SwapBytes;
let mut value: Test = Test ;
value.swap_bytes_mut;