Function core::mem::to_le16Deprecated[src]

pub fn to_le16(x: u16) -> u16

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

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