Skip to main content

fdswap

Function fdswap 

Source
pub fn fdswap(p: &mut [u32])
Expand description

Port of fdswap(Wordcode p, int n) from Src/parse.c:3318. Byte-swap each u32 in p[..n] in place. Used when writing the opposite-byte-order copy of a wordcode dump.