[−][src]Function ucs2::decode_with
pub fn decode_with<F>(input: &[u16], output: F) -> Result<usize, Error> where
F: FnMut(&[u8]) -> Result<(), Error>,
Decode UCS-2 string to UTF-8 with a custom callback function.
output
is a function which receives every decoded character.