validate_utf8

Function validate_utf8 

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

Validate UTF-8 string without copying