Function std::mem::from_le16Deprecated[src]

pub fn from_le16(x: u16) -> u16

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

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