Function std::mem::to_be32Deprecated[src]

pub fn to_be32(x: u32) -> u32

Convert an u32 to big endian from the target's endianness.

On big endian, this is a no-op. On little endian, the bytes are swapped.