[src]

Function std::mem::from_le16

pub fn from_le16(x: i16) -> i16

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

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