The string type.
Denoted str<N>, its length N must be known at compile-time.
str<N>
N
impl<let N: u32> str<N>
pub fn as_bytes(self) -> [u8; N]
Converts the given string into a byte array
pub fn as_bytes_vec(self) -> [u8]
return a byte vector of the str content
The string type.
Denoted
str<N>, its lengthNmust be known at compile-time.