[][src]Function ucs2::decode

pub fn decode(input: &[u16], output: &mut [u8]) -> Result<usize, Error>

Decode an input UCS-2 string into a UTF-8 string.

The returned usize represents the length of the returned buffer, in bytes.