[src]

Function std::mem::to_be32

pub fn to_be32(x: i32) -> i32

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

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