/// Parse a vec of bytes as a String
Parse a vec of bytes as a String
Parse a vec of bytes as a String
pub fn parse_string(input: &[u8]) -> String {
    String::from_utf8_lossy(input)
        .trim_matches(char::from(0))
        .to_string()
}
pub fn parse_string ( input : & [ u8 ] ) -> String { String :: from_utf8_lossy ( input ) . trim_matches ( char :: from ( 0 ) ) . to_string ( ) }
Parse a vec of bytes as a String
Parse a vec of bytes as a String
input
&[u8]