translate_slice

Function translate_slice 

Source
pub fn translate_slice<W>(
    input: &[u8],
    from: Option<Format>,
    to: Format,
    output: W,
) -> Result<()>
where W: Write,
Expand description

Translates the contents of a single input slice to a different format.

See Translator::translate_slice.