Function to_str

Source
pub fn to_str<'a>(bytes: &'a [u8]) -> Result<&'a str, CryptError>
Expand description

Convert a nul-terminated byte slice into a borrowed string.