[src]

Function std::mem::to_le16

pub fn to_le16(x: i16) -> i16

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

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