Function libdonet::datagram::byte_order::swap_be_32

source ยท
pub fn swap_be_32(v: u32) -> u32
Expand description

Swaps 4 bytes in big endian byte order to little endian. Returns the input if the processor is big endian.