Function bswap::beu16::encode_slice [-] [+] [src]

pub fn encode_slice(dst: &mut [u8], src: &[u16])

Encodes a slice of native-endian $T objects to $E-endian bytes.