pub fn translate_slice<W>( input: &[u8], from: Option<Format>, to: Format, output: W, ) -> Result<()>where W: Write,
Translates the contents of a single input slice to a different format.
See Translator::translate_slice.
Translator::translate_slice