Function libdonet::datagram::byte_order::swap_le_32

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

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