To convert a slice of bytes to a string slice (assuming a UTF-8 encoding): use std::str; // // pub fn from_utf8(v: &[u8]) -> Result<&str, ...
確定! 回上一頁