Function core::mem::from_be16Deprecated[src]

pub fn from_be16(x: u16) -> u16

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

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