[src]

Function std::mem::from_be16

pub fn from_be16(x: i16) -> i16

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

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