Function bytes_to_str

Source
pub fn bytes_to_str(bytes: &[u8]) -> Result<&str>
Expand description

Zero-copy text extraction from byte slice

Converts bytes to &str without allocation