Function encode

Source
fn encode(bytes: &[u8], format: &str) -> Result<String, EvalError>