pub fn encode_string<S>(string: S) -> Vec<u8> where S: AsRef<str>,
Encode string and return the result in a Vec.
string
Vec