encode

Function encode 

Source
pub fn encode(text: &str) -> Result<Vec<u8>, String>