Function rosc::encoder::encode_string
source · pub fn encode_string<S: Into<String>>(s: S) -> Vec<u8>
Expand description
Null terminates the byte representation of string s
and
adds null bytes until the length of the result is a
multiple of 4.